[pypy-svn] r63632 - pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86
fijal at codespeak.net
fijal at codespeak.net
Sat Apr 4 22:57:07 CEST 2009
Author: fijal
Date: Sat Apr 4 22:57:06 2009
New Revision: 63632
Modified:
pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py
Log:
fix the case for bridges, right now it still segfaults though.
Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py (original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/backend/x86/regalloc.py Sat Apr 4 22:57:06 2009
@@ -548,8 +548,9 @@
jump = tree.operations[-1]
if jump.opnum != rop.JUMP:
jump = None
- else:
- assert jump.jump_target is tree
+ elif jump.jump_target is not tree:
+ jump = self._create_jump_reg_candidates(jump)
+ jump = None
for i in range(len(inputargs)):
arg = inputargs[i]
assert not isinstance(arg, Const)
More information about the Pypy-commit
mailing list