[pypy-svn] r59456 - pypy/trunk/pypy/translator/goal

cami at codespeak.net cami at codespeak.net
Mon Oct 27 21:43:07 CET 2008


Author: cami
Date: Mon Oct 27 21:43:05 2008
New Revision: 59456

Modified:
   pypy/trunk/pypy/translator/goal/targetgbprofiling.py
Log:
changed the profiling target to print empty results on the forbidden opcodes


Modified: pypy/trunk/pypy/translator/goal/targetgbprofiling.py
==============================================================================
--- pypy/trunk/pypy/translator/goal/targetgbprofiling.py	(original)
+++ pypy/trunk/pypy/translator/goal/targetgbprofiling.py	Mon Oct 27 21:43:05 2008
@@ -51,6 +51,8 @@
                 print i, ":", run(op_codes, count)
             else:
                 print  run(op_codes, count)
+        else:
+            print -1
     
 def run_each_second_order(count):
     op_codes = [0xCB]*2
@@ -93,7 +95,6 @@
         if i not in forbidden:
             list.append(0xCB)
             list.append(i)
-        
     return list
 
 



More information about the Pypy-commit mailing list