@@ -156,17 +156,19 @@ return imp; } IMP -objc_msg_lookup(id obj, SEL sel) +OBJC_GLUE(objc_msg_lookup, id obj OBJC_GLUE_M68K_REG("a0"), + SEL sel OBJC_GLUE_M68K_REG("a1")) { return common_lookup(obj, sel, objc_method_not_found); } IMP -objc_msg_lookup_stret(id obj, SEL sel) +OBJC_GLUE(objc_msg_lookup_stret, id obj OBJC_GLUE_M68K_REG("a0"), + SEL sel OBJC_GLUE_M68K_REG("a1")) { return common_lookup(obj, sel, objc_method_not_found_stret); } static OF_INLINE IMP @@ -185,16 +187,20 @@ return imp; } IMP -objc_msg_lookup_super(struct objc_super *super, SEL sel) +OBJC_GLUE(objc_msg_lookup_super, + struct objc_super *super OBJC_GLUE_M68K_REG("a0"), + SEL sel OBJC_GLUE_M68K_REG("a1")) { return common_lookup_super(super, sel, objc_method_not_found); } IMP -objc_msg_lookup_super_stret(struct objc_super *super, SEL sel) +OBJC_GLUE(objc_msg_lookup_super_stret, + struct objc_super *super OBJC_GLUE_M68K_REG("a0"), + SEL sel OBJC_GLUE_M68K_REG("a1")) { return common_lookup_super(super, sel, objc_method_not_found_stret); } #endif