+ Function_type* method_type;
+ if (method != NULL)
+ {
+ method_type = method->type();
+ gcc_assert(method_type->is_method());
+ }
+ else
+ {
+ method_type = imethod->type()->function_type();
+ gcc_assert(method_type != NULL && !method_type->is_method());
+ }