From bd01c04deffbf8d2d56e7c0a8814cd6146c70685 Mon Sep 17 00:00:00 2001 From: Daniel_Cortez Date: Mon, 4 Dec 2017 22:33:02 +0700 Subject: [PATCH] emit/__emit: Fix argument type for 'addr.pri/alt' --- source/compiler/sc1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index 809ca1f..9aa169a 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -6360,8 +6360,8 @@ static EMIT_OPCODE emit_opcodelist[] = { { 0, NULL, emit_noop }, { 78, "add", emit_parm0 }, { 87, "add.c", emit_parm1_any }, - { 14, "addr.alt", emit_parm1_any }, - { 13, "addr.pri", emit_parm1_any }, + { 14, "addr.alt", emit_parm1_local }, + { 13, "addr.pri", emit_parm1_local }, { 30, "align.alt", emit_parm1_any }, { 29, "align.pri", emit_parm1_any }, { 81, "and", emit_parm0 },