[pypy-commit] pypy arm-backend-2: Bah, fix.

bivab noreply at buildbot.pypy.org
Wed Nov 16 14:56:36 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r49475:0fc247cc5f82
Date: 2011-11-16 14:56 +0100
http://bitbucket.org/pypy/pypy/changeset/0fc247cc5f82/

Log:	Bah, fix.

diff --git a/pypy/jit/backend/arm/regalloc.py b/pypy/jit/backend/arm/regalloc.py
--- a/pypy/jit/backend/arm/regalloc.py
+++ b/pypy/jit/backend/arm/regalloc.py
@@ -141,7 +141,7 @@
         loc = None
         if isinstance(thing, Const):
             if isinstance(thing, ConstPtr):
-                tp = PTR
+                tp = REF
             else:
                 tp = INT
             loc = self.get_scratch_reg(tp, forbidden_vars=self.temp_boxes + forbidden_vars)


More information about the pypy-commit mailing list