[pypy-svn] r59140 - in pypy/branch/oo-jit/pypy/jit: codegen/cli/test rainbow

antocuni at codespeak.net antocuni at codespeak.net
Thu Oct 16 13:57:14 CEST 2008


Author: antocuni
Date: Thu Oct 16 13:57:14 2008
New Revision: 59140

Modified:
   pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_gencli_interpreter.py
   pypy/branch/oo-jit/pypy/jit/rainbow/interpreter.py
Log:
yup, after the fix in args_manager this test passes :-)



Modified: pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_gencli_interpreter.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_gencli_interpreter.py	(original)
+++ pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_gencli_interpreter.py	Thu Oct 16 13:57:14 2008
@@ -94,8 +94,5 @@
     def test_red_int_add_ovf(self):
         py.test.skip("TODO: exceptions")
 
-    def test_learn_nonzeroness(self):
-        py.test.skip("something wrong with promotion")
-
     def test_degenerated_at_return(self):
         py.test.skip('test framework does not support getattr on returned instances')

Modified: pypy/branch/oo-jit/pypy/jit/rainbow/interpreter.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/rainbow/interpreter.py	(original)
+++ pypy/branch/oo-jit/pypy/jit/rainbow/interpreter.py	Thu Oct 16 13:57:14 2008
@@ -315,6 +315,7 @@
 
     def bytecode_loop(self):
         while 1:
+            #print 'pc = (%s)  \t (%s)' % (self.frame.pc, self.frame.bytecode.name)
             bytecode = self.load_int()
             assert bytecode >= 0
             result = self.opcode_implementations[bytecode](self)



More information about the Pypy-commit mailing list