commit ee7e6f0fe66e9a8d258daacbbcd300de5164c9ae
parent c64d8a4d2868707cd9fbfc4fd560c210b09acb18
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 23 Feb 2021 14:00:51 -0500
gen: tolerate out value in continue
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/gen.c b/src/gen.c
@@ -1586,7 +1586,6 @@ gen_expr_control(struct gen_context *ctx,
const struct expression *expr,
const struct qbe_value *out)
{
- assert(out == NULL); // Invariant
struct gen_scope_context *scope = ctx->scope;
while (scope != NULL) {
gen_defers(ctx, scope);