[pypy-svn] pypy jit-unroll-loops: Fix the issue.

arigo commits-noreply at bitbucket.org
Fri Dec 17 17:41:23 CET 2010


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-unroll-loops
Changeset: 828e133f4e20
Date: 2010-12-17 17:39 +0100
http://bitbucket.org/pypy/pypy/changeset/828e133f4e20/

Log:	Fix the issue.

diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py
--- a/pypy/jit/metainterp/compile.py
+++ b/pypy/jit/metainterp/compile.py
@@ -602,8 +602,7 @@
                 mini.operations = [jmp]
                 descr = op.getdescr()
                 assert isinstance(descr, ResumeGuardDescr)
-                mini.token = make_loop_token(len(mini.inputargs),
-                                             metainterp.jitdriver_sd)
+                mini.token = bridge.token
                 
                 #descr.compile_and_attach(metainterp, mini)
                 if not we_are_translated():



More information about the Pypy-commit mailing list