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,6 +1261,7 @@ static void insn_ivalue(int opcode, arith value)
switch (value) switch (value)
{ {
case 0: case 0:
push(
appendir( appendir(
new_ir1( new_ir1(
IR_FPTOLB, EM_pointersize, IR_FPTOLB, EM_pointersize,
@ -1268,14 +1269,17 @@ static void insn_ivalue(int opcode, arith value)
IR_GETFP, EM_pointersize IR_GETFP, EM_pointersize
) )
) )
)
); );
break; break;
case 1: case 1:
push(
appendir( appendir(
new_ir0( new_ir0(
IR_GETSP, EM_pointersize IR_GETSP, EM_pointersize
) )
)
); );
break; break;