* fixed type in second_class_to_intf if the class was in a LOC_REGISTER

git-svn-id: trunk@32422 -
This commit is contained in:
Jonas Maebe 2015-11-21 12:37:36 +00:00
parent 118f3c8049
commit a55e9a8b0a

View File

@ -699,7 +699,10 @@ interface
hlcg.a_load_reg_reg(current_asmdata.CurrAsmList,left.resultdef,resultdef,left.location.register,location.register);
end;
LOC_REGISTER:
location.register:=left.location.register;
begin
location.register:=left.location.register;
hlcg.g_ptrtypecast_reg(current_asmdata.CurrAsmList,left.resultdef,resultdef,location.register);
end
else
internalerror(121120001);
end;