Remember to push the result of lor onto the stack.

This commit is contained in:
David Given 2016-11-17 22:04:32 +01:00
parent 745eb8f17b
commit 43439c6d0c

View file

@ -1261,20 +1261,24 @@ static void insn_ivalue(int opcode, arith value)
switch (value)
{
case 0:
appendir(
new_ir1(
IR_FPTOLB, EM_pointersize,
new_ir0(
IR_GETFP, EM_pointersize
push(
appendir(
new_ir1(
IR_FPTOLB, EM_pointersize,
new_ir0(
IR_GETFP, EM_pointersize
)
)
)
);
break;
case 1:
appendir(
new_ir0(
IR_GETSP, EM_pointersize
push(
appendir(
new_ir0(
IR_GETSP, EM_pointersize
)
)
);
break;