[pypy-commit] pypy jit-settrace: fijal says it's safe

alex_gaynor noreply at buildbot.pypy.org
Fri Oct 25 18:31:50 CEST 2013


Author: Alex Gaynor <alex.gaynor at 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


More information about the pypy-commit mailing list