* load an objc classrefdef as objc_idtype, as that is also how we type

the self parameter in Objective-C class methods

git-svn-id: trunk@32913 -
This commit is contained in:
Jonas Maebe 2016-01-10 17:22:09 +00:00
parent 5959f45694
commit dacfb1a6ff

View File

@ -134,7 +134,7 @@ implementation
objcfinishstringrefpoolentry(entry,sp_objcclassnames,sec_objc_cls_refs,sec_objc_class_names); objcfinishstringrefpoolentry(entry,sp_objcclassnames,sec_objc_cls_refs,sec_objc_class_names);
end; end;
reference_reset_symbol(href,tasmlabel(entry^.Data),0,voidpointertype.size); reference_reset_symbol(href,tasmlabel(entry^.Data),0,voidpointertype.size);
hlcg.a_load_ref_reg(current_asmdata.CurrAsmList,voidpointertype,voidpointertype,href,location.register); hlcg.a_load_ref_reg(current_asmdata.CurrAsmList,objc_idtype,objc_idtype,href,location.register);
end; end;
end end
else else