Author: Armin Rigo <[email protected]>
Branch:
Changeset: r58787:26987097b7e9
Date: 2012-11-07 19:31 +0100
http://bitbucket.org/pypy/pypy/changeset/26987097b7e9/
Log: Backout part of 9dc6cd01cad3, looks like checked in by mistake.
diff --git a/pypy/interpreter/nestedscope.py b/pypy/interpreter/nestedscope.py
--- a/pypy/interpreter/nestedscope.py
+++ b/pypy/interpreter/nestedscope.py
@@ -181,11 +181,6 @@
# is the variable given by index a cell or a free var?
return index < len(self.pycode.co_cellvars)
- @jit.unroll_safe
- def mark_cells_as_final(self):
- for in in range(self.pycode):
- xxx
-
### extra opcodes ###
def LOAD_CLOSURE(self, varindex, next_instr):
diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -183,7 +183,6 @@
got_exception = False
finally:
executioncontext.leave(self, w_exitvalue, got_exception)
- self.mark_cells_as_final() # implemented in nestedscope
return w_exitvalue
execute_frame.insert_stack_check_here = True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit