[pypy-commit] pypy arm-backend-2: fix translation

bivab noreply at buildbot.pypy.org
Fri Sep 30 12:00:27 CEST 2011


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r47713:44b786acf170
Date: 2011-09-30 11:59 +0200
http://bitbucket.org/pypy/pypy/changeset/44b786acf170/

Log:	fix translation

diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py
--- a/pypy/jit/backend/arm/assembler.py
+++ b/pypy/jit/backend/arm/assembler.py
@@ -869,6 +869,8 @@
         elif loc.is_stack():
             self.mc.PUSH([r.lr.value], cond=cond)
             new_loc = r.lr
+        else:
+            raise AssertionError("invalid target for move from imm value")
         self.mc.gen_load_int(new_loc.value, prev_loc.value, cond=cond)
         if loc.is_stack():
             self.regalloc_mov(new_loc, loc)


More information about the pypy-commit mailing list