[pypy-commit] pypy arm-backend-2: forgot to return the condition

bivab noreply at buildbot.pypy.org
Tue Aug 7 09:15:59 CEST 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r56617:8c550a3fbeba
Date: 2012-08-06 13:29 +0000
http://bitbucket.org/pypy/pypy/changeset/8c550a3fbeba/

Log:	forgot to return the condition

diff --git a/pypy/jit/backend/arm/opassembler.py b/pypy/jit/backend/arm/opassembler.py
--- a/pypy/jit/backend/arm/opassembler.py
+++ b/pypy/jit/backend/arm/opassembler.py
@@ -99,6 +99,7 @@
         self.mc.CMP_ri(arg.value, 0)
         self.mc.MOV_ri(res.value, 0, cond=c.LT)
         self.mc.MOV_rr(res.value, arg.value, cond=c.GE)
+        return fcond
        
     #ref: http://blogs.arm.com/software-enablement/detecting-overflow-from-mul/
     def emit_guard_int_mul_ovf(self, op, guard, arglocs, regalloc, fcond):


More information about the pypy-commit mailing list