Author: Alex Gaynor <alex.gay...@gmail.com>
Branch: jit-settrace
Changeset: r67602:d65280b97f33
Date: 2013-10-25 09:31 -0700
http://bitbucket.org/pypy/pypy/changeset/d65280b97f33/

Log:    fijal says it's safe

diff --git a/pypy/interpreter/eval.py b/pypy/interpreter/eval.py
--- a/pypy/interpreter/eval.py
+++ b/pypy/interpreter/eval.py
@@ -87,7 +87,7 @@
         self.w_locals = w_locals
         self.locals2fast()
 
-    @jit.look_inside_iff(lambda self: jit.isvirtual(self))
+    @jit.unroll_safe
     def fast2locals(self):
         # Copy values from the fastlocals to self.w_locals
         if self.w_locals is None:
@@ -106,7 +106,7 @@
                     if not e.match(self.space, self.space.w_KeyError):
                         raise
 
-    @jit.look_inside_iff(lambda self: jit.isvirtual(self))
+    @jit.unroll_safe
     def locals2fast(self):
         # Copy values from self.w_locals to the fastlocals
         assert self.w_locals is not None
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to