Explorar o código

+ added missing make_simple_ref

git-svn-id: trunk@1572 -
florian %!s(int64=20) %!d(string=hai) anos
pai
achega
1b97e2cffd
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      compiler/x86/cgx86.pas

+ 4 - 1
compiler/x86/cgx86.pas

@@ -934,7 +934,10 @@ unit cgx86;
           internalerror(200312215);
         case loc.loc of
           LOC_CREFERENCE,LOC_REFERENCE:
-            list.concat(taicpu.op_ref_reg(asmop,S_NO,loc.reference,resultreg));
+            begin
+              make_simple_ref(exprasmlist,loc.reference);
+              list.concat(taicpu.op_ref_reg(asmop,S_NO,loc.reference,resultreg));
+            end;
           LOC_CMMREGISTER,LOC_MMREGISTER:
             list.concat(taicpu.op_reg_reg(asmop,S_NO,loc.register,resultreg));
           else