[pypy-commit] pypy jit-targets: Cannot attach the LoopToken by default on a jump(), because we

arigo noreply at buildbot.pypy.org
Wed Nov 9 14:48:32 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-targets
Changeset: r49013:e41703ed7368
Date: 2011-11-09 13:53 +0100
http://bitbucket.org/pypy/pypy/changeset/e41703ed7368/

Log:	Cannot attach the LoopToken by default on a jump(), because we would
	need to have a TargetToken instead. Fall back to no descr, which is
	enough for some tests.

diff --git a/pypy/jit/tool/oparser.py b/pypy/jit/tool/oparser.py
--- a/pypy/jit/tool/oparser.py
+++ b/pypy/jit/tool/oparser.py
@@ -241,9 +241,9 @@
             if opnum == rop.FINISH:
                 if descr is None and self.invent_fail_descr:
                     descr = self.invent_fail_descr(self.model, fail_args)
-            elif opnum == rop.JUMP:
-                if descr is None and self.invent_fail_descr:
-                    descr = self.celltoken
+##            elif opnum == rop.JUMP:
+##                if descr is None and self.invent_fail_descr:
+##                    ...
         return opnum, args, descr, fail_args
 
     def create_op(self, opnum, args, result, descr):


More information about the pypy-commit mailing list