Author: Carl Friedrich Bolz <[email protected]>
Branch: guard-compatible
Changeset: r83377:dd33eb1a6551
Date: 2016-03-25 16:39 +0100
http://bitbucket.org/pypy/pypy/changeset/dd33eb1a6551/

Log:    grumble

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
@@ -2218,7 +2218,7 @@
 
 
     def attach_debug_info(self, op):
-        if (op is not None and self.framestack is not None):
+        if (op is not None and self.framestack):
             if not we_are_translated():
                 op.pc = self.framestack[-1].pc
             op.rpyfunc = self.framestack[-1].jitcode.name
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to