[pypy-commit] pypy arm-backend-2: Forgot to pass the condition flag here. Argh!!

bivab noreply at buildbot.pypy.org
Fri Jan 20 18:46:33 CET 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r51559:0109b2cfd41f
Date: 2012-01-20 18:46 +0100
http://bitbucket.org/pypy/pypy/changeset/0109b2cfd41f/

Log:	Forgot to pass the condition flag here. Argh!!

diff --git a/pypy/jit/backend/arm/codebuilder.py b/pypy/jit/backend/arm/codebuilder.py
--- a/pypy/jit/backend/arm/codebuilder.py
+++ b/pypy/jit/backend/arm/codebuilder.py
@@ -179,7 +179,7 @@
     def BL(self, addr, c=cond.AL):
         target = rffi.cast(rffi.INT, addr)
         self.gen_load_int(reg.ip.value, target, cond=c)
-        self.BLX(reg.ip.value)
+        self.BLX(reg.ip.value, c)
 
     def BLX(self, reg, c=cond.AL):
         self.write32(c << 28 | 0x12FFF3 << 4 | (reg & 0xF))


More information about the pypy-commit mailing list