Przeglądaj źródła

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

git-svn-id: trunk@2178 -
Jonas Maebe 19 lat temu
rodzic
commit
fe71df8928
1 zmienionych plików z 3 dodań i 0 usunięć
  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