mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-22 05:34:59 -07:00
Fix map runtime issue regarding erasing a key
This commit is contained in:
@@ -1753,6 +1753,7 @@ void ir_emit_defer_stmts(irProcedure *proc, irDeferExitKind kind, irBlock *block
|
||||
while (i --> 0) {
|
||||
irDefer d = proc->defer_stmts[i];
|
||||
if (d.context_stack_count >= 0) {
|
||||
GB_ASSERT(proc->context_stack.count >= d.context_stack_count);
|
||||
proc->context_stack.count = d.context_stack_count;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user