* channged gettemptyped() into gethltemp() call, as gettemptyped() is only

intended/required for managed types

git-svn-id: branches/hlcgllvm@28483 -
This commit is contained in:
Jonas Maebe 2014-08-19 20:22:29 +00:00
parent 8064adec38
commit 979a3d7e1d

View File

@ -183,8 +183,8 @@ implementation
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(op,tmpreg,
left.location.register));
location_reset_ref(location,LOC_REFERENCE,def_cgsize(resultdef),0);
tg.gettemptyped(current_asmdata.CurrAsmList,resultdef,tt_normal,
location.reference);
tg.gethltemp(current_asmdata.CurrAsmList,resultdef,resultdef.size,
tt_normal,location.reference);
cg.a_loadfpu_reg_ref(current_asmdata.CurrAsmList,OS_F64,OS_F64,tmpreg,
location.reference);
end;