[pypy-svn] r55522 - pypy/branch/oo-jit/pypy/jit/rainbow/test

antocuni at codespeak.net antocuni at codespeak.net
Tue Jun 3 17:16:28 CEST 2008


Author: antocuni
Date: Tue Jun  3 17:16:27 2008
New Revision: 55522

Modified:
   pypy/branch/oo-jit/pypy/jit/rainbow/test/test_interpreter.py
   pypy/branch/oo-jit/pypy/jit/rainbow/test/test_promotion.py
Log:
another test that passes



Modified: pypy/branch/oo-jit/pypy/jit/rainbow/test/test_interpreter.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/rainbow/test/test_interpreter.py	(original)
+++ pypy/branch/oo-jit/pypy/jit/rainbow/test/test_interpreter.py	Tue Jun  3 17:16:27 2008
@@ -290,7 +290,7 @@
         for block in residual_graph.iterblocks():
             for op in block.operations:
                 if op.opname == 'direct_call':
-                    f = getattr(op.args[0].value._obj, "_callable", None)
+                    f = getattr(get_funcobj(op.args[0].value), "_callable", None)
                     if hasattr(f, 'oopspec'):
                         name, _ = f.oopspec.split('(', 1)
                         oops[name] = oops.get(name, 0) + 1

Modified: pypy/branch/oo-jit/pypy/jit/rainbow/test/test_promotion.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/rainbow/test/test_promotion.py	(original)
+++ pypy/branch/oo-jit/pypy/jit/rainbow/test/test_promotion.py	Tue Jun  3 17:16:27 2008
@@ -477,12 +477,6 @@
     def skip(self):
         py.test.skip('in progress')
 
-    #test_promote_after_call = skip
-    #test_promote_after_yellow_call = skip
-    #test_merge_then_promote = skip
-    #test_vstruct_unfreeze = skip
-    #test_more_promotes = skip
     test_remembers_across_mp = skip
-    test_virtual_list_copy = skip
     test_raise_result_mixup = skip
     test_raise_result_mixup_some_more = skip



More information about the Pypy-commit mailing list