[pypy-svn] r53296 - pypy/branch/jit-hotpath/pypy/jit/codegen/ia32

fijal at codespeak.net fijal at codespeak.net
Thu Apr 3 22:30:10 CEST 2008


Author: fijal
Date: Thu Apr  3 22:30:09 2008
New Revision: 53296

Modified:
   pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py
Log:
good, all rgenop tests are passing :)


Modified: pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/codegen/ia32/rgenop.py	Thu Apr  3 22:30:09 2008
@@ -1151,7 +1151,8 @@
             res_positions.append(pos)
             res_positions.append(pos - 1)
     # no repeats please
-    assert sorted(dict.fromkeys(res_positions).keys()) == sorted(res_positions)
+    if not objectmodel.we_are_translated():
+        assert sorted(dict.fromkeys(res_positions).keys()) == sorted(res_positions)
     return res_gv, res_positions
 
 def remap_stack_layout(builder, outputargs_gv, target):



More information about the Pypy-commit mailing list