Explorar o código

* also synchronise FPU and MM CREGISTERS at the end of procedures

git-svn-id: trunk@2178 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
fe71df8928
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      compiler/ncgutil.pas

+ 3 - 0
compiler/ncgutil.pas

@@ -2125,6 +2125,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