浏览代码

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

git-svn-id: trunk@2178 -
Jonas Maebe 19 年之前
父节点
当前提交
fe71df8928
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compiler/ncgutil.pas

+ 3 - 0
compiler/ncgutil.pas

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