1. Soares Chen
  2. pypy

Commits

Maciej Fijalkowski  committed 61fa3ac Draft

one more attr

  • Participants
  • Parent commits ba6d7e7
  • Branches even-more-jit-hooks

Comments (0)

Files changed (1)

File pypy/module/pypyjit/interp_resop.py

View file
                           (self.jd_name, lgt, code_repr))
 
 @unwrap_spec(loopno=int, asmaddr=int, asmlen=int, loop_no=int,
-             type=str, jd_name=str)
+             type=str, jd_name=str, bridge_no=int)
 def descr_new_jit_loop_info(space, w_subtype, w_greenkey, w_ops, loopno,
-                            asmaddr, asmlen, loop_no, type, jd_name):
+                            asmaddr, asmlen, loop_no, type, jd_name, bridge_no):
     w_info = space.allocate_instance(W_JitLoopInfo, w_subtype)
     w_info.w_green_key = w_greenkey
     w_info.w_ops = w_ops
     w_info.loop_no = loop_no
     w_info.type = type
     w_info.jd_name = jd_name
+    w_info.bridge_no = bridge_no
     return w_info
 
 W_JitLoopInfo.typedef = TypeDef(