Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r61192:d42e121a3bce
Date: 2013-02-13 23:13 +0200
http://bitbucket.org/pypy/pypy/changeset/d42e121a3bce/

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
@@ -707,7 +707,8 @@
         return AsmInfo(ops_offset, startpos + rawstart, codeendpos - startpos)
 
     def new_stack_loc(self, i, pos, tp):
-        return StackLocation(i, pos, tp)
+        base_ofs = self.cpu.get_baseofs_of_frame_field()
+        return StackLocation(i, pos + base_ofs, tp)
 
     def check_frame_before_jump(self, target_token):
         if target_token in self.target_tokens_currently_compiling:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to