Hi Alex, 

This needs a corresponding test in test_pypy_c.py 

Cheers, 

Carl Friedrich 

alex_gaynor <nore...@buildbot.pypy.org> wrote:

>Author: Alex Gaynor <alex.gay...@gmail.com>
>Branch: 
>Changeset: r60800:9aeefdb4841d
>Date: 2013-01-31 17:54 -0800
>http://bitbucket.org/pypy/pypy/changeset/9aeefdb4841d/
>
>Log:   hidden frames are fairly rare, it's ok to unroll this
>
>diff --git a/pypy/interpreter/executioncontext.py
>b/pypy/interpreter/executioncontext.py
>--- a/pypy/interpreter/executioncontext.py
>+++ b/pypy/interpreter/executioncontext.py
>@@ -40,6 +40,7 @@
>     def gettopframe(self):
>         return self.topframeref()
> 
>+    @jit.unroll_safe
>     def gettopframe_nohidden(self):
>         frame = self.topframeref()
>         while frame and frame.hide():
>_______________________________________________
>pypy-commit mailing list
>pypy-com...@python.org
>http://mail.python.org/mailman/listinfo/pypy-commit


_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to