[pypy-svn] r69145 - pypy/trunk/pypy/module/pypyjit/test

arigo at codespeak.net arigo at codespeak.net
Wed Nov 11 10:44:49 CET 2009


Author: arigo
Date: Wed Nov 11 10:44:48 2009
New Revision: 69145

Modified:
   pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py
Log:
Fix two of the three failures here.


Modified: pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py
==============================================================================
--- pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py	(original)
+++ pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py	Wed Nov 11 10:44:48 2009
@@ -158,7 +158,7 @@
         ops = self.get_by_bytecode("LOAD_GLOBAL")
         assert len(ops) == 2
         assert ops[0].get_opnames() == ["getfield_gc", "getarrayitem_gc",
-                                        "getfield_gc", "guard_nonnull"]
+                                        "getfield_gc", "guard_nonnull_class"]
         assert not ops[1] # second LOAD_GLOBAL folded away
         ops = self.get_by_bytecode("CALL_FUNCTION")
         assert len(ops) == 2
@@ -202,7 +202,7 @@
         ops = self.get_by_bytecode("LOAD_ATTR")
         assert len(ops) == 2
         assert ops[0].get_opnames() == ["getfield_gc", "getarrayitem_gc",
-                                        "guard_nonnull"]
+                                        "guard_nonnull_class"]
         assert not ops[1] # second LOAD_ATTR folded away
 
     def test_default_and_kw(self):



More information about the Pypy-commit mailing list