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) switch (value)
{ {
case 0: case 0:
appendir( push(
new_ir1( appendir(
IR_FPTOLB, EM_pointersize, new_ir1(
new_ir0( IR_FPTOLB, EM_pointersize,
IR_GETFP, EM_pointersize new_ir0(
IR_GETFP, EM_pointersize
)
) )
) )
); );
break; break;
case 1: case 1:
appendir( push(
new_ir0( appendir(
IR_GETSP, EM_pointersize new_ir0(
IR_GETSP, EM_pointersize
)
) )
); );
break; break;