Re: [pypy-dev] [pypy-commit] pypy default: INSTANCE_PTR_{EQ, NE} also do not escape their arguments in the JIT
Hi Alex, Please write a test for this change. Cheers, Carl Friedrich alex_gaynor <noreply@buildbot.pypy.org> wrote:
Author: Alex Gaynor <alex.gaynor@gmail.com> Branch: Changeset: r58945:e72d4f5b720e Date: 2012-11-16 07:11 -0800 http://bitbucket.org/pypy/pypy/changeset/e72d4f5b720e/
Log: INSTANCE_PTR_{EQ,NE} also do not escape their arguments in the JIT
diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache.py --- a/pypy/jit/metainterp/heapcache.py +++ b/pypy/jit/metainterp/heapcache.py @@ -74,7 +74,9 @@ elif (opnum != rop.GETFIELD_GC and opnum != rop.MARK_OPAQUE_PTR and opnum != rop.PTR_EQ and - opnum != rop.PTR_NE): + opnum != rop.PTR_NE and + opnum != rop.INSTANCE_PTR_EQ and + opnum != rop.INSTANCE_PTR_NE): idx = 0 for box in argboxes: # setarrayitem_gc don't escape its first argument _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit
Carl Friedrich Bolz
participants (1)
-
Carl Friedrich Bolz