Author: Richard Plangger <planri...@gmail.com>
Branch: s390x-backend
Changeset: r82072:8475d0a75240
Date: 2016-02-04 11:12 +0100
http://bitbucket.org/pypy/pypy/changeset/8475d0a75240/

Log:    translation issue

diff --git a/rpython/jit/backend/zarch/opassembler.py 
b/rpython/jit/backend/zarch/opassembler.py
--- a/rpython/jit/backend/zarch/opassembler.py
+++ b/rpython/jit/backend/zarch/opassembler.py
@@ -540,6 +540,7 @@
         mc.BASR(r.r14, r.r14)
 
         if len(arglocs) > 1:
+            loc_index = arglocs[1]
             if loc_index.is_reg() and loc_index.value < 6:
                 mc.LG(loc_index, l.addr(STD_FRAME_SIZE_IN_BYTES, r.SP))
                 mc.LAY(r.SP, l.addr(WORD, r.SP))
@@ -559,6 +560,7 @@
             #
             # case GCFLAG_CARDS_SET: emit a few instructions to do
             # directly the card flag setting
+            loc_index = arglocs[1]
             if loc_index.is_reg():
                 tmp_loc = arglocs[2]
                 n = descr.jit_wb_card_page_shift
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to