Explorar o código

* set expectloc properly for x87 on x86

florian %!s(int64=4) %!d(string=hai) anos
pai
achega
f56aa9abe7
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;