[pypy-svn] r66699 - pypy/branch/pyjitpl5/pypy/jit/metainterp/test

antocuni at codespeak.net antocuni at codespeak.net
Thu Jul 30 15:27:13 CEST 2009


Author: antocuni
Date: Thu Jul 30 15:27:12 2009
New Revision: 66699

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_optimizefindnode.py
Log:
use the proper signature of instanceof


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_optimizefindnode.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_optimizefindnode.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_optimizefindnode.py	Thu Jul 30 15:27:12 2009
@@ -791,7 +791,7 @@
         ops = """
         [i0]
         p0 = new_with_vtable(ConstClass(node_vtable))
-        i1 = instanceof(ConstClass(node_vtable), p0)
+        i1 = instanceof(p0, descr=nodesize)
         jump(i1)
         """
         boxes, getnode = self.find_nodes(ops, 'Not')



More information about the Pypy-commit mailing list