Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r76113:e36875ce12ab
Date: 2015-02-24 20:14 +0200
http://bitbucket.org/pypy/pypy/changeset/e36875ce12ab/

Log:    Don't compile bridges out of guard_not_invalidated. Additionally for
        it to make sense, we can double-patch stuff (for a bridge and for
        invalidation)

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
@@ -682,6 +682,9 @@
 class ResumeGuardNotInvalidated(ResumeGuardDescr):
     guard_opnum = rop.GUARD_NOT_INVALIDATED
 
+    def must_compile(self, deadframe, metainterp_sd, jitdriver_sd):
+        return False
+
 class ResumeAtPositionDescr(ResumeGuardDescr):
     guard_opnum = rop.GUARD_FUTURE_CONDITION
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to