[pypy-svn] r68936 - pypy/branch/jit-removetypeptr/pypy/translator/c/gcc

arigo at codespeak.net arigo at codespeak.net
Tue Nov 3 15:16:51 CET 2009


Author: arigo
Date: Tue Nov  3 15:16:49 2009
New Revision: 68936

Modified:
   pypy/branch/jit-removetypeptr/pypy/translator/c/gcc/trackgcroot.py
Log:
A hack that appears needed for compiling with -fno-unit-at-a-time.


Modified: pypy/branch/jit-removetypeptr/pypy/translator/c/gcc/trackgcroot.py
==============================================================================
--- pypy/branch/jit-removetypeptr/pypy/translator/c/gcc/trackgcroot.py	(original)
+++ pypy/branch/jit-removetypeptr/pypy/translator/c/gcc/trackgcroot.py	Tue Nov  3 15:16:49 2009
@@ -715,6 +715,8 @@
             return self._visit_prologue()
         elif source == '%ebp' and target == '%esp':
             return self._visit_epilogue()
+        if source == '%esp' and self.funcname.startswith('VALGRIND_'):
+            return []
         return self.insns_for_copy(source, target)
 
     def visit_pushl(self, line):



More information about the Pypy-commit mailing list