[pypy-svn] r37842 - pypy/branch/jit-virtual-world/pypy/jit/codegen/test

arigo at codespeak.net arigo at codespeak.net
Sat Feb 3 01:07:37 CET 2007


Author: arigo
Date: Sat Feb  3 01:07:26 2007
New Revision: 37842

Modified:
   pypy/branch/jit-virtual-world/pypy/jit/codegen/test/rgenop_tests.py
Log:
This is the test that shows the problem solved by r37836.


Modified: pypy/branch/jit-virtual-world/pypy/jit/codegen/test/rgenop_tests.py
==============================================================================
--- pypy/branch/jit-virtual-world/pypy/jit/codegen/test/rgenop_tests.py	(original)
+++ pypy/branch/jit-virtual-world/pypy/jit/codegen/test/rgenop_tests.py	Sat Feb  3 01:07:26 2007
@@ -642,6 +642,10 @@
     info = builder.get_frame_info([gv_y])
     gv_reader = rgenop.constPrebuiltGlobal(get_reader(info))
     gv_z = builder.genop_call(readertoken, gv_reader, [gv_base])
+
+    args_gv = [gv_y, gv_z]
+    builder.enter_next_block([signed_kind]*2, args_gv)
+    [gv_y, gv_z] = args_gv
     builder.finish_and_return(sigtoken, gv_z)
     builder.end()
 



More information about the Pypy-commit mailing list