emit/__emit: Fix argument handling in 'const.s'
This commit is contained in:
parent
40bf47c6b5
commit
23ab402763
@ -6152,6 +6152,15 @@ static void OPHANDLER_CALL emit_parm2_data_any(char *name)
|
||||
outinstr(name,p,(sizeof p / sizeof p[0]));
|
||||
}
|
||||
|
||||
static void OPHANDLER_CALL emit_parm2_local_any(char *name)
|
||||
{
|
||||
ucell p[2];
|
||||
|
||||
emit_param_local(&p[0],1);
|
||||
emit_param_any(&p[1],1);
|
||||
outinstr(name,p,(sizeof p / sizeof p[0]));
|
||||
}
|
||||
|
||||
static void OPHANDLER_CALL emit_parm3_any(char *name)
|
||||
{
|
||||
ucell p[3];
|
||||
@ -6332,7 +6341,7 @@ static EMIT_OPCODE emit_opcodelist[] = {
|
||||
{156, "const", emit_parm2_data_any },
|
||||
{ 12, "const.alt", emit_parm1_any },
|
||||
{ 11, "const.pri", emit_parm1_any },
|
||||
{157, "const.s", emit_parm2_local },
|
||||
{157, "const.s", emit_parm2_local_any },
|
||||
{114, "dec", emit_parm1_data },
|
||||
{113, "dec.alt", emit_parm0 },
|
||||
{116, "dec.i", emit_parm0 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user