Commits

Maciej Fijalkowski committed 47b39a4 Draft

another oops for untested code

Comments (0)

Files changed (1)

pypy/module/pypyjit/interp_resop.py

 @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