[pypy-commit] pypy jit-targets: fix

hakanardo noreply at buildbot.pypy.org
Sat Dec 10 12:54:59 CET 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-targets
Changeset: r50342:b08cf0eb7990
Date: 2011-12-10 12:54 +0100
http://bitbucket.org/pypy/pypy/changeset/b08cf0eb7990/

Log:	fix

diff --git a/pypy/jit/backend/x86/regalloc.py b/pypy/jit/backend/x86/regalloc.py
--- a/pypy/jit/backend/x86/regalloc.py
+++ b/pypy/jit/backend/x86/regalloc.py
@@ -1330,7 +1330,7 @@
         if op.getopnum() != rop.JUMP:
             return
         descr = op.getdescr()
-        assert isinstance(descr, LoopToken)
+        assert isinstance(descr, TargetToken)
         nonfloatlocs, floatlocs = self.assembler.target_arglocs(descr)
         for i in range(op.numargs()):
             box = op.getarg(i)


More information about the pypy-commit mailing list