[pypy-svn] r66434 - pypy/branch/parser-compiler/pypy/interpreter/astcompiler

benjamin at codespeak.net benjamin at codespeak.net
Mon Jul 20 15:17:24 CEST 2009


Author: benjamin
Date: Mon Jul 20 15:17:23 2009
New Revision: 66434

Modified:
   pypy/branch/parser-compiler/pypy/interpreter/astcompiler/assemble.py
Log:
pass over EXTENDED_ARG

Modified: pypy/branch/parser-compiler/pypy/interpreter/astcompiler/assemble.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/interpreter/astcompiler/assemble.py	(original)
+++ pypy/branch/parser-compiler/pypy/interpreter/astcompiler/assemble.py	Mon Jul 20 15:17:23 2009
@@ -505,6 +505,8 @@
 def _opcode_stack_effect(op, arg):
     if we_are_translated():
         for possible_op in ops.unrolling_opcode_descs:
+            if possible_op == ops.EXTENDED_ARG:
+                continue
             if op == possible_op.index:
                 return _stack_effect_computers[possible_op.index](arg)
         else:



More information about the Pypy-commit mailing list