[pypy-commit] pypy arm64: ugh why is this hardcoded to WORD

fijal pypy.commits at gmail.com
Tue Jul 2 02:36:30 EDT 2019


Author: fijal
Branch: arm64
Changeset: r96911:2574a06ba591
Date: 2019-07-02 08:35 +0200
http://bitbucket.org/pypy/pypy/changeset/2574a06ba591/

Log:	ugh why is this hardcoded to WORD

diff --git a/rpython/jit/backend/aarch64/assembler.py b/rpython/jit/backend/aarch64/assembler.py
--- a/rpython/jit/backend/aarch64/assembler.py
+++ b/rpython/jit/backend/aarch64/assembler.py
@@ -901,7 +901,8 @@
         startpos = self.mc.currpos()
         faildescrindex, target = self.store_info_on_descr(startpos, guardtok)
         self.load_from_gc_table(r.ip0.value, faildescrindex)
-        self.store_reg(self.mc, r.ip0, r.fp, WORD)
+        ofs = self.cpu.get_ofs_of_frame_field('jf_descr')
+        self.store_reg(self.mc, r.ip0, r.fp, ofs)
         self.push_gcmap(self.mc, gcmap=guardtok.gcmap)
         assert target
         self.mc.BL(target)


More information about the pypy-commit mailing list