diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-20 11:23:15 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-20 11:23:15 +0000 |
| commit | 8f4ffbe1da084561ea8add9c7cd911ab729f7eb3 (patch) | |
| tree | 52208a722070aa8916bbb2d6104143a5f430f7d4 /src/llvm_backend_stmt.cpp | |
| parent | 8f3b6738ff5756f923c7d403eb17cf7cc76e62fe (diff) | |
Fix #2299 by handling very large value cases correctly
Diffstat (limited to 'src/llvm_backend_stmt.cpp')
| -rw-r--r-- | src/llvm_backend_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_stmt.cpp b/src/llvm_backend_stmt.cpp index 73b4e251f..c268ab09a 100644 --- a/src/llvm_backend_stmt.cpp +++ b/src/llvm_backend_stmt.cpp @@ -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; |