Commits

Alex Gaynor committed 74c7fe2

these should have been set as well:

  • Participants
  • Parent commits acdbfb9
  • Branches jit-settrace

Comments (0)

Files changed (1)

pypy/interpreter/nestedscope.py

                                  self.space.wrap("bad cellvars"))
         self.cells[:ncellvars] = cellvars
 
-    @jit.look_inside_iff(lambda self: jit.isvirtual(self))
+    @jit.unroll_safe
     def fast2locals(self):
         super_fast2locals(self)
         # cellvars are values exported to inner scopes
                 w_name = self.space.wrap(name)
                 self.space.setitem(self.w_locals, w_name, w_value)
 
-    @jit.look_inside_iff(lambda self: jit.isvirtual(self))
+    @jit.unroll_safe
     def locals2fast(self):
         super_locals2fast(self)
         freevarnames = self.pycode.co_cellvars + self.pycode.co_freevars