Author: Carl Friedrich Bolz <[email protected]>
Branch: value-profiling
Changeset: r78844:0f5e23676bc1
Date: 2015-08-07 11:43 +0200
http://bitbucket.org/pypy/pypy/changeset/0f5e23676bc1/

Log:    remove prints

diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -176,14 +176,8 @@
         vprof = self.pycode.vprof
         if isinstance(value, W_IntObject):
             times = vprof.see_int(varindex, value.intval)
-            if times > 50 and not self.pycode.printed[varindex]:
-                self.pycode.printed[varindex] = True
-                print "COMMON VALUE:", self.pycode.co_name, varindex, 
self.pycode.co_varnames[varindex], value.intval
         else:
             times = self.pycode.vprof.see_object(varindex, value)
-            if times > 50 and not self.pycode.printed[varindex]:
-                self.pycode.printed[varindex] = True
-                print "COMMON VALUE:", self.pycode.co_name, varindex, 
self.pycode.co_varnames[varindex], self.space.str_w(self.space.repr(value))
 
 
     def mark_as_escaped(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to