[pypy-svn] r66435 - pypy/branch/parser-compiler/pypy/interpreter/astcompiler
benjamin at codespeak.net
benjamin at codespeak.net
Mon Jul 20 15:25:33 CEST 2009
Author: benjamin
Date: Mon Jul 20 15:25:32 2009
New Revision: 66435
Modified:
pypy/branch/parser-compiler/pypy/interpreter/astcompiler/assemble.py
Log:
compare with .index attribute
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:25:32 2009
@@ -505,7 +505,7 @@
def _opcode_stack_effect(op, arg):
if we_are_translated():
for possible_op in ops.unrolling_opcode_descs:
- if possible_op == ops.EXTENDED_ARG:
+ if possible_op.index == ops.EXTENDED_ARG:
continue
if op == possible_op.index:
return _stack_effect_computers[possible_op.index](arg)
More information about the Pypy-commit
mailing list