[pypy-commit] pypy arm-backed-float: put this return where it belongs

bivab noreply at buildbot.pypy.org
Wed Jun 8 18:22:43 CEST 2011


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backed-float
Changeset: r44835:923f59e113b7
Date: 2011-06-08 16:42 +0200
http://bitbucket.org/pypy/pypy/changeset/923f59e113b7/

Log:	put this return where it belongs

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
@@ -428,7 +428,6 @@
         if we_are_translated():
             cls = self.cpu.gc_ll_descr.has_write_barrier_class()
             assert cls is not None and isinstance(descr, cls)
-        return fcond
         loc_base = arglocs[0]
         self.mc.LDR_ri(r.ip.value, loc_base.value)
         # calculate the shift value to rotate the ofs according to the ARM
@@ -454,6 +453,7 @@
         offset = self.mc.currpos() - jz_location
         pmc = OverwritingBuilder(self.mc, jz_location, WORD)
         pmc.ADD_ri(r.pc.value, r.pc.value, offset - PC_OFFSET, cond=c.EQ)
+        return fcond
 
 
 class FieldOpAssembler(object):


More information about the pypy-commit mailing list