Skip to content

Commit 8cf7e4f

Browse files
committed
Pacify analyzegc
1 parent 8916dd3 commit 8cf7e4f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/interpreter.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,14 +525,16 @@ static jl_value_t *eval_body(jl_array_t *stmts, interpreter_state *s, size_t ip,
525525
jl_value_t *new_scope = eval_value(jl_enternode_scope(stmt), s);
526526
ct->scope = new_scope;
527527
if (!jl_setjmp(__eh.eh_ctx, 1)) {
528-
return eval_body(stmts, s, next_ip, toplevel);
528+
eval_body(stmts, s, next_ip, toplevel);
529+
jl_unreachable();
529530
}
530531
ct->scope = old_scope;
531532
JL_GC_POP();
532533
}
533534
else {
534535
if (!jl_setjmp(__eh.eh_ctx, 1)) {
535-
return eval_body(stmts, s, next_ip, toplevel);
536+
eval_body(stmts, s, next_ip, toplevel);
537+
jl_unreachable();
536538
}
537539
}
538540
jl_eh_restore_state(&__eh);

0 commit comments

Comments
 (0)