Browse Source

* fixed error in load_fpu_location triggered by round() (fixes webtbs/tw32671
on i386 after r47854)

git-svn-id: trunk@47890 -

Jonas Maebe 4 years ago
parent
commit
2fc672452d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86/nx86inl.pas

+ 1 - 1
compiler/x86/nx86inl.pas

@@ -651,7 +651,7 @@ implementation
            LOC_MMREGISTER,LOC_CMMREGISTER:
              begin
                location:=lnode.location;
-               hlcg.location_force_fpureg(current_asmdata.CurrAsmList,location,resultdef,false);
+               hlcg.location_force_fpureg(current_asmdata.CurrAsmList,location,lnode.resultdef,false);
              end;
            else
              internalerror(309991);