[pypy-commit] pypy portable-threadlocal: fix

arigo noreply at buildbot.pypy.org
Thu Nov 27 09:16:15 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: portable-threadlocal
Changeset: r74745:4c60d918693c
Date: 2014-11-27 09:15 +0100
http://bitbucket.org/pypy/pypy/changeset/4c60d918693c/

Log:	fix

diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py
--- a/rpython/jit/backend/arm/assembler.py
+++ b/rpython/jit/backend/arm/assembler.py
@@ -1156,7 +1156,7 @@
         if loc.is_core_reg():
             # load a value from 'SP + n'
             assert prev_loc.value <= 0xFFF     # not too far
-            self.load_reg(self.mc, loc.value, r.sp, prev_loc.value, cond=cond)
+            self.load_reg(self.mc, loc, r.sp, prev_loc.value, cond=cond)
         else:
             assert 0, 'unsupported case'
 


More information about the pypy-commit mailing list