[pypy-svn] r64193 - pypy/branch/pyjitpl5-simplify/pypy/interpreter

fijal at codespeak.net fijal at codespeak.net
Thu Apr 16 22:52:09 CEST 2009


Author: fijal
Date: Thu Apr 16 22:52:09 2009
New Revision: 64193

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/interpreter/pyopcode.py
Log:
also here


Modified: pypy/branch/pyjitpl5-simplify/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/interpreter/pyopcode.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/interpreter/pyopcode.py	Thu Apr 16 22:52:09 2009
@@ -178,7 +178,8 @@
                 ec.bytecode_trace(self)
                 next_instr = r_uint(self.last_instr)
             opcode = ord(co_code[next_instr])
-            print "DISPATCHING: %d" % (opcode,)
+            if we_are_translated():
+                print "DISPATCHING: %d" % (opcode,)
             next_instr += 1
             if space.config.objspace.logbytecodes:
                 space.bytecodecounts[opcode] = space.bytecodecounts.get(opcode, 0) + 1



More information about the Pypy-commit mailing list