Ver código fonte

Merged revisions 2178 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

r2178 (jonas)
* also synchronise FPU and MM CREGISTERS at the end of procedures

git-svn-id: branches/fixes_2_0@2179 -

Jonas Maebe 19 anos atrás
pai
commit
2f924c4b97
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      compiler/ncgutil.pas

+ 3 - 0
compiler/ncgutil.pas

@@ -2118,6 +2118,9 @@ implementation
                         else
 {$endif cpu64bit}
                           cg.a_reg_sync(list,localloc.register);
+                      LOC_CFPUREGISTER,
+                      LOC_CMMREGISTER:
+                        cg.a_reg_sync(list,localloc.register);
                       LOC_REFERENCE :
                         begin
                           case st.symtabletype of