Set the method's function pointer.

This commit is contained in:
Bill Currie 2011-02-15 22:27:13 +09:00
parent 3721b2edca
commit d04865884f
1 changed files with 1 additions and 0 deletions

View File

@ -1496,6 +1496,7 @@ methoddef
current_func = begin_function (sym, nicename, ivar_scope, 1);
class_finish_ivar_scope (current_class, ivar_scope,
current_func->symtab);
method->func = sym->s.func;
method->def = sym->s.func->def;
current_symtab = current_func->symtab;
current_storage = st_local;