aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tccgen.c b/tccgen.c
index 4e6a116..72e892c 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -3877,12 +3877,10 @@ ST_FUNC void unary(void)
vtop->c.i = !vtop->c.i;
} else if ((vtop->r & VT_VALMASK) == VT_CMP)
vtop->c.i ^= 1;
- else if (!nocode_wanted) {
+ else {
save_regs(1);
vseti(VT_JMP, gvtst(1, 0));
}
- else
- vtop--;
break;
case '~':
next();