2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
commit1bfa0441efd34b0d10099ee25f9d4bdbb1a6edff
authorkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Mon, 22 Feb 2010 21:17:53 +0000 (22 21:17 +0000)
committerkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Mon, 22 Feb 2010 21:17:53 +0000 (22 21:17 +0000)
tree782f26a1753edae703881a5dfa0cc86f9cbefdc8
parent11c477d5e41a69d9c7fbb5df9d482af58e8b7c88
2010-02-22  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata.c: Add mono_method_get_header_summary which returns
* minimal
information about the header of a method. This is the
information used
by the inline oracle to reject methods.

This method doesn't decode local variables and doesn't cache
it's result,
so it should cause a minimal reduction in memory usage.

* metadata-internals.h: Add MonoMethodHeaderSummary structure
* and
mono_method_get_header_summary.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@152204 e3ebcda4-bce8-0310-ba0a-eca2169e7518
mono/metadata/ChangeLog
mono/metadata/metadata-internals.h
mono/metadata/metadata.c