[pypy-commit] pypy guard-compatible: a comment

cfbolz pypy.commits at gmail.com
Tue Jun 28 12:09:12 EDT 2016


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: guard-compatible
Changeset: r85439:7ed893072cdd
Date: 2016-06-28 18:08 +0200
http://bitbucket.org/pypy/pypy/changeset/7ed893072cdd/

Log:	a comment

diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py
--- a/rpython/jit/metainterp/compile.py
+++ b/rpython/jit/metainterp/compile.py
@@ -1138,6 +1138,8 @@
                 self.other_compat_conditions.append(compat_cond)
         asminfo = ResumeGuardDescr.compile_and_attach(
             self, metainterp, new_loop, orig_inputargs)
+        # note that the backend will not patch the switch at all, so it is
+        # vital to *always* do something with asminfo.asmaddr
         if compat_cond:
             compat_cond.jump_target = asminfo.asmaddr
         else:


More information about the pypy-commit mailing list