Browse Source

* fixed expectloc setting for x86_64

git-svn-id: trunk@8704 -
peter 18 years ago
parent
commit
9715eceee7
1 changed files with 2 additions and 4 deletions
  1. 2 4
      compiler/x86/nx86inl.pas

+ 2 - 4
compiler/x86/nx86inl.pas

@@ -142,9 +142,8 @@ implementation
         if use_sse(left.resultdef) then
         if use_sse(left.resultdef) then
           expectloc:=LOC_REGISTER
           expectloc:=LOC_REGISTER
         else
         else
-{$else x86_64}
-          expectloc:=LOC_REFERENCE;
 {$endif x86_64}
 {$endif x86_64}
+          expectloc:=LOC_REFERENCE;
         result:=nil;
         result:=nil;
       end;
       end;
 
 
@@ -163,9 +162,8 @@ implementation
              if use_sse(left.resultdef) then
              if use_sse(left.resultdef) then
                expectloc:=LOC_REGISTER
                expectloc:=LOC_REGISTER
              else
              else
-{$else x86_64}
-               expectloc:=LOC_REFERENCE;
 {$endif x86_64}
 {$endif x86_64}
+               expectloc:=LOC_REFERENCE;
              result:=nil;
              result:=nil;
            end;
            end;
        end;
        end;