Procházet zdrojové kódy

* set expectloc properly for x87 on x86

florian před 4 roky
rodič
revize
f56aa9abe7
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      compiler/ncal.pas

+ 4 - 0
compiler/ncal.pas

@@ -2657,7 +2657,11 @@ implementation
           if use_vectorfpu(realresdef) then
             result:=LOC_MMREGISTER
           else
+{$ifdef x86}
+            result:=LOC_REFERENCE
+{$else x86}
             result:=LOC_FPUREGISTER
+{$endif x86}
         else
           result:=LOC_REFERENCE
       end;