Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r61842:b7eef86deec4
Date: 2013-02-27 13:48 +0200
http://bitbucket.org/pypy/pypy/changeset/b7eef86deec4/
Log: fix the loading of frame depth
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
@@ -742,7 +742,7 @@
"""
descrs = self.cpu.gc_ll_descr.getframedescrs(self.cpu)
ofs = self.cpu.unpack_fielddescr(descrs.arraydescr.lendescr)
- mc.gen_load_int(r.ip.value, ofs)
+ mc.STR_ri(r.r12.value, r.fp.value, imm=ofs)
stack_check_cmp_ofs = mc.currpos()
if expected_size == -1:
mc.NOP()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit