瀏覽代碼

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 年之前
父節點
當前提交
2f924c4b97
共有 1 個文件被更改,包括 3 次插入0 次删除
  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