Browse Source

* fixed expectloc setting

git-svn-id: trunk@6833 -
florian 18 years ago
parent
commit
c4f65df9f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/x86/nx86inl.pas

+ 2 - 2
compiler/x86/nx86inl.pas

@@ -179,7 +179,7 @@ implementation
 
      function tx86inlinenode.first_round_real : tnode;
       begin
-        expectloc:=LOC_FPUREGISTER;
+        expectloc:=LOC_REFERENCE;
         registersint:=left.registersint;
         registersfpu:=max(left.registersfpu,1);
 {$ifdef SUPPORT_MMX}
@@ -195,7 +195,7 @@ implementation
            result:=inherited
          else
            begin
-             expectloc:=LOC_FPUREGISTER;
+             expectloc:=LOC_REFERENCE;
              registersint:=left.registersint;
              registersfpu:=max(left.registersfpu,1);
 {$ifdef SUPPORT_MMX}