mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-28 14:45:09 +00:00
Fix #2299 by handling very large value cases correctly
This commit is contained in:
@@ -2321,7 +2321,7 @@ gb_internal void lb_emit_defer_stmts(lbProcedure *p, lbDeferExitKind kind, lbBlo
|
||||
|
||||
if (kind == lbDeferExit_Default) {
|
||||
if (p->scope_index == d.scope_index &&
|
||||
d.scope_index > 0) { // TODO(bill): Which is correct: > 0 or > 1?
|
||||
d.scope_index > 0) {
|
||||
lb_build_defer_stmt(p, d);
|
||||
array_pop(&p->defer_stmts);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user