[pypy-commit] pypy copystrcontents-in-rewrite: fixes from Aarch64

fijal pypy.commits at gmail.com
Wed Jun 5 07:18:53 EDT 2019


Author: fijal
Branch: copystrcontents-in-rewrite
Changeset: r96753:2fb764a56483
Date: 2019-06-05 13:18 +0200
http://bitbucket.org/pypy/pypy/changeset/2fb764a56483/

Log:	fixes from Aarch64

diff --git a/rpython/jit/backend/arm/opassembler.py b/rpython/jit/backend/arm/opassembler.py
--- a/rpython/jit/backend/arm/opassembler.py
+++ b/rpython/jit/backend/arm/opassembler.py
@@ -835,7 +835,8 @@
             assert 0
 
     def emit_op_load_effective_address(self, op, arglocs, regalloc, fcond):
-        self._gen_address(arglocs[4], arglocs[0], arglocs[1], arglocs[2], arglocs[3])
+        self._gen_address(arglocs[4], arglocs[0], arglocs[1], arglocs[3].value,
+                          arglocs[2].value)
 
    # result = base_loc  + (scaled_loc << scale) + static_offset
     def _gen_address(self, result, base_loc, scaled_loc, scale=0, static_offset=0):


More information about the pypy-commit mailing list