Author: Carl Friedrich Bolz <[email protected]>
Branch: value-profiling
Changeset: r78939:6ef217777d4d
Date: 2015-08-12 18:05 +0200
http://bitbucket.org/pypy/pypy/changeset/6ef217777d4d/

Log:    another translation problem

diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -148,6 +148,7 @@
     def _getlocal(self, varindex):
         from pypy.objspace.std.intobject import W_IntObject
         # some careful logic there
+        vprof = None
         if we_are_jitted():
             vprof = self.getcode().vprofs[varindex]
             if vprof.can_fold_read_int():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to