[pypy-svn] r69224 - pypy/branch/msvc-asmgcroot/pypy/translator/c/gcc
afa at codespeak.net
afa at codespeak.net
Thu Nov 12 13:59:16 CET 2009
Author: afa
Date: Thu Nov 12 13:59:15 2009
New Revision: 69224
Modified:
pypy/branch/msvc-asmgcroot/pypy/translator/c/gcc/trackgcroot.py
Log:
be more careful when extracting the symbol from a "constant indirect jump"
Modified: pypy/branch/msvc-asmgcroot/pypy/translator/c/gcc/trackgcroot.py
==============================================================================
--- pypy/branch/msvc-asmgcroot/pypy/translator/c/gcc/trackgcroot.py (original)
+++ pypy/branch/msvc-asmgcroot/pypy/translator/c/gcc/trackgcroot.py Thu Nov 12 13:59:15 2009
@@ -648,7 +648,7 @@
for s in insn.all_sources_of(loc):
sources.append(s)
for source in sources:
- m = re.match("DWORD PTR (.+)", source)
+ m = re.match("DWORD PTR " + self.LABEL, source)
if m:
reg.append(m.group(1))
if reg:
More information about the Pypy-commit
mailing list