mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 18:02:22 -07:00
File Library and TypeDecl syntax change
This commit is contained in:
+3
-2
@@ -811,9 +811,10 @@ void ssa_emit_defer_stmts(ssaProcedure *proc, ssaDeferKind kind, ssaBlock *block
|
||||
while (i --> 0) {
|
||||
ssaDefer d = proc->defer_stmts[i];
|
||||
if (kind == ssaDefer_Return) {
|
||||
ssa_build_defer_stmt(proc, d);
|
||||
ssa_build_defer_stmt(proc, d);
|
||||
} else if (kind == ssaDefer_Default) {
|
||||
if (proc->scope_index == d.scope_index) {
|
||||
if (proc->scope_index == d.scope_index &&
|
||||
d.scope_index > 1) {
|
||||
ssa_build_defer_stmt(proc, d);
|
||||
gb_array_pop(proc->defer_stmts);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user