[pypy-commit] pypy guard-compatible: remove pdb, remove outdated comment

cfbolz pypy.commits at gmail.com
Mon Mar 14 07:32:01 EDT 2016


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: guard-compatible
Changeset: r83034:4ce22e96aeb4
Date: 2016-03-14 11:36 +0100
http://bitbucket.org/pypy/pypy/changeset/4ce22e96aeb4/

Log:	remove pdb, remove outdated 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
@@ -930,10 +930,8 @@
         else:
             resumedescr = ResumeGuardExcDescr()
     elif opnum == rop.GUARD_COMPATIBLE:
-        if copied_guard:
-            import pdb; pdb.set_trace()
-        else:
-            resumedescr = GuardCompatibleDescr()
+        assert not copied_guard # XXX for now?
+        resumedescr = GuardCompatibleDescr()
     else:
         if copied_guard:
             resumedescr = ResumeGuardCopiedDescr()
@@ -1088,7 +1086,6 @@
     fulfil need to be attached to this descr by optimizeopt. """
 
     def __init__(self):
-        # XXX for now - in the end this would be in assembler
         self._compatibility_conditions = None
 
     def handle_fail(self, deadframe, metainterp_sd, jitdriver_sd):


More information about the pypy-commit mailing list