[pypy-commit] pypy even-more-jit-hooks: another oops for untested code

fijal noreply at buildbot.pypy.org
Sat Jul 7 19:27:39 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: even-more-jit-hooks
Changeset: r55974:47b39a47e125
Date: 2012-07-07 19:27 +0200
http://bitbucket.org/pypy/pypy/changeset/47b39a47e125/

Log:	another oops for untested code

diff --git a/pypy/module/pypyjit/interp_resop.py b/pypy/module/pypyjit/interp_resop.py
--- a/pypy/module/pypyjit/interp_resop.py
+++ b/pypy/module/pypyjit/interp_resop.py
@@ -295,7 +295,7 @@
 @unwrap_spec(loopno=int, asmaddr=r_uint, asmlen=r_uint, loop_no=int)
 def descr_new_jit_loop_info(space, w_subtype, w_greenkey, w_ops, loopno,
                             asmaddr, asmlen, loop_no):
-    w_info = space.allocate_instance(W_JitLoopInfo)
+    w_info = space.allocate_instance(W_JitLoopInfo, w_subtype)
     w_info.w_greenkey = w_greenkey
     w_info.w_ops = w_ops
     w_info.asmaddr = asmaddr


More information about the pypy-commit mailing list