Преглед изворни кода

* x86_64 compilation fixed after r24752

git-svn-id: trunk@24755 -
nickysn пре 12 година
родитељ
комит
90ecd72286
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      compiler/x86/nx86add.pas

+ 3 - 1
compiler/x86/nx86add.pas

@@ -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);