aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/builtin.c')
-rw-r--r--c/builtin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/builtin.c b/c/builtin.c
index 29a3191..9a8a12b 100644
--- a/c/builtin.c
+++ b/c/builtin.c
@@ -83,6 +83,7 @@ static union ref
trap_comp(struct function *fn, struct expr *ex, bool discard)
{
puttrap(fn);
+ useblk(fn, newblk(fn)); /* unreachable block, but simplifies expr codegen */
return NOREF;
}