[pypy-svn] r77354 - pypy/trunk/pypy/translator/c/gcc

afa at codespeak.net afa at codespeak.net
Fri Sep 24 18:16:59 CEST 2010


Author: afa
Date: Fri Sep 24 18:16:58 2010
New Revision: 77354

Modified:
   pypy/trunk/pypy/translator/c/gcc/trackgcroot.py
Log:
Actually handle the xchgq instruction in the 64bit compiler


Modified: pypy/trunk/pypy/translator/c/gcc/trackgcroot.py
==============================================================================
--- pypy/trunk/pypy/translator/c/gcc/trackgcroot.py	(original)
+++ pypy/trunk/pypy/translator/c/gcc/trackgcroot.py	Fri Sep 24 18:16:58 2010
@@ -856,7 +856,6 @@
     visit_and = FunctionGcRootTracker._visit_and
 
     visit_xchgl = FunctionGcRootTracker._visit_xchg
-    visit_xchgq = FunctionGcRootTracker._visit_xchg
 
     # used in "xor reg, reg" to create a NULL GC ptr
     visit_xorl = FunctionGcRootTracker.binary_insn
@@ -914,6 +913,7 @@
     visit_leaq = FunctionGcRootTracker._visit_lea
 
     visit_xorq = FunctionGcRootTracker.binary_insn
+    visit_xchgq = FunctionGcRootTracker._visit_xchg
 
     # FIXME: similar to visit_popl for 32-bit
     def visit_popq(self, line):



More information about the Pypy-commit mailing list