From: David Given Date: Thu, 17 Nov 2016 21:04:32 +0000 (+0100) Subject: Remember to push the result of lor onto the stack. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=43439c6d0c121751473503b8e70464e869cc39aa;p=ack.git Remember to push the result of lor onto the stack. --- diff --git a/mach/proto/mcg/treebuilder.c b/mach/proto/mcg/treebuilder.c index fcd13611c..01e486500 100644 --- a/mach/proto/mcg/treebuilder.c +++ b/mach/proto/mcg/treebuilder.c @@ -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;