(mframe_do_call): When getting the instance method, just use

object->class_pointer, not object_get_class(), because
object_get_class() of a class will return the argument, not the
metaclass---we want the metaclass.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1337 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-04-09 23:55:42 +00:00
parent c2b688a5ea
commit 18a8b28a16

View file

@ -433,7 +433,7 @@ mframe_do_call (const char *encoded_types,
#else
{
Method_t m;
m = class_get_instance_method (object_get_class (object),
m = class_get_instance_method (object->class_pointer,
selector);
NSCParameterAssert (m);
type = m->method_types;