Explorar o código

* compilation on i386 fixed

git-svn-id: trunk@43920 -
florian %!s(int64=6) %!d(string=hai) anos
pai
achega
5a1e6c2e91
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      compiler/x86/aoptx86.pas

+ 2 - 2
compiler/x86/aoptx86.pas

@@ -4068,9 +4068,9 @@ unit aoptx86;
                                   case typ of
                                     top_ref:
                                       begin
-                                        if (ref^.base <> NR_NO) and (ref^.base <> NR_RIP) then
+                                        if (ref^.base <> NR_NO) {$ifdef x86_64} and (ref^.base <> NR_RIP) {$endif x86_64} then
                                           AllocRegBetween(ref^.base, hp3, tai(p.Next), UsedRegs);
-                                        if (ref^.index <> NR_NO) and (ref^.index <> NR_RIP) then
+                                        if (ref^.index <> NR_NO) {$ifdef x86_64} and (ref^.index <> NR_RIP) {$endif x86_64} then
                                           AllocRegBetween(ref^.index, hp3, tai(p.Next), UsedRegs);
                                       end;
                                     top_reg: