[pypy-svn] r37413 - in pypy/dist/pypy/jit/codegen/i386: . demo
arigo at codespeak.net
arigo at codespeak.net
Sat Jan 27 00:42:10 CET 2007
Author: arigo
Date: Sat Jan 27 00:42:07 2007
New Revision: 37413
Modified:
pypy/dist/pypy/jit/codegen/i386/demo/rerun_failures.py
pypy/dist/pypy/jit/codegen/i386/regalloc.py
Log:
One more bug. Scarily long to find out...
Modified: pypy/dist/pypy/jit/codegen/i386/demo/rerun_failures.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/i386/demo/rerun_failures.py (original)
+++ pypy/dist/pypy/jit/codegen/i386/demo/rerun_failures.py Sat Jan 27 00:42:07 2007
@@ -13,6 +13,7 @@
# These are tests that failed at some point. Run them all with
# py.test rerun_failures.py.
+def test_9473(): rerun(9473)
def test_3888(): rerun(3888)
def test_2307(): rerun(2307)
def test_9792(): rerun(9792)
Modified: pypy/dist/pypy/jit/codegen/i386/regalloc.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/i386/regalloc.py (original)
+++ pypy/dist/pypy/jit/codegen/i386/regalloc.py Sat Jan 27 00:42:07 2007
@@ -103,13 +103,13 @@
self.operationindex = len(operations)
for i in range(len(operations)-1, -1, -1):
v = operations[i]
+ if self.need_var_in_cc is not None and v.clobbers_cc:
+ self.save_cc()
kind = v.result_kind
if kind == RK_WORD:
self.creating(v)
elif kind == RK_CC:
self.creating_cc(v)
- if self.need_var_in_cc is not None and v.clobbers_cc:
- self.save_cc()
v.allocate(self)
self.operationindex = i
if self.need_var_in_cc is not None:
More information about the Pypy-commit
mailing list