Fix performance regression.
authorRaja R Harinath <harinath@hurrynot.org>
Fri, 3 Mar 2006 14:56:31 +0000 (14:56 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Fri, 3 Mar 2006 14:56:31 +0000 (14:56 -0000)
commit0e0aef8df8d4e0ea6396792aeb58c4888305f04c
treebb2751a623c3e5b1cafa88efe4063a2f15885337
parent81bcda14c0af4fce54c8ec9f70cfff356232ab95
Fix performance regression.
* loader.c (find_method_in_class): Add 'from_class' argument.
Rename 'klass' argument to 'in_class'. The signature is compared
against the method in 'in_class', and the corresponding method is
returned from 'from_class'.
(find_method): Walk both 'in_class' and 'from_class' in parallel.
(method_from_memberref) [PARENT_TYPESPEC]: Use it to walk the
type definition and generic instantiation in parallel.
(mono_get_method_constrained): Update to changes.

svn path=/trunk/mono/; revision=57537
mono/metadata/ChangeLog
mono/metadata/loader.c