[pypy-commit] pypy default: Add a comment

arigo noreply at buildbot.pypy.org
Sat Apr 4 13:32:59 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r76712:84e6b9734fbf
Date: 2015-04-04 13:32 +0200
http://bitbucket.org/pypy/pypy/changeset/84e6b9734fbf/

Log:	Add a comment

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
@@ -1176,6 +1176,10 @@
         if have_debug_prints():
             loc = jitdriver_sd.warmstate.get_location_str(greenkey)
             debug_print(loc)
+        #
+        # Note: the logger hides the jd_index argument, so we see in the logs:
+        #    debug_merge_point(portal_call_depth, current_call_id, 'location')
+        #
         args = [ConstInt(jd_index), ConstInt(portal_call_depth), ConstInt(current_call_id)] + greenkey
         self.metainterp.history.record(rop.DEBUG_MERGE_POINT, args, None)
 


More information about the pypy-commit mailing list