Commits

Armin Rigo committed 2698709

Backout part of 9dc6cd01cad3, looks like checked in by mistake.

Comments (0)

Files changed (2)

pypy/interpreter/nestedscope.py

         # 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):

pypy/interpreter/pyframe.py

             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