* x86_64 compilation fixed after r24752

git-svn-id: trunk@24755 -
This commit is contained in:
nickysn 2013-06-01 22:38:07 +00:00
parent 99aed66f3c
commit 90ecd72286

View File

@ -247,8 +247,10 @@ unit nx86add;
procedure tx86addnode.emit_op_right_left(op:TAsmOp;opsize:TCgsize);
{$ifdef x86_64}
var
tmpref: treference;
tmpreg : tregister;
{$endif x86_64}
begin
if (right.location.loc in [LOC_CSUBSETREG,LOC_SUBSETREG,LOC_SUBSETREF,LOC_CSUBSETREF]) then
hlcg.location_force_reg(current_asmdata.CurrAsmList,right.location,right.resultdef,right.resultdef,true);