[pypy-commit] pypy share-guard-info: be a bit more precise about the resume position

fijal noreply at buildbot.pypy.org
Sun Sep 27 18:48:12 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: share-guard-info
Changeset: r79868:f0e67a65063e
Date: 2015-09-27 18:48 +0200
http://bitbucket.org/pypy/pypy/changeset/f0e67a65063e/

Log:	be a bit more precise about the resume position

diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -21,6 +21,7 @@
 from rpython.rlib.unroll import unrolling_iterable
 from rpython.rtyper.lltypesystem import lltype, rffi, llmemory
 from rpython.rtyper import rclass
+from rpython.rlib.objectmodel import compute_unique_id
 
 
 
@@ -2475,7 +2476,7 @@
         if isinstance(resumedescr, compile.ResumeGuardDescr):
             name = resumedescr.rd_frame_info_list.jitcode.name
             pc = resumedescr.rd_frame_info_list.pc
-            debug_print("resuming at %s %d" % (name, pc))
+            debug_print("resuming at %d %s %d" % (name, pc, compute_unique_id(resumedescr)))
         if isinstance(resumedescr, compile.ResumeGuardExcDescr):
             if exception:
                 self.execute_ll_raised(lltype.cast_opaque_ptr(rclass.OBJECTPTR,


More information about the pypy-commit mailing list