mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix #1459
gen_vmassignment() missed a pop() in a conditional branch, but we have to keep each conditional branch 's stack depth the same all the time when it left execution.
This commit is contained in:
@@ -959,6 +959,9 @@ gen_vmassignment(codegen_scope *s, node *tree, int rhs, int val)
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
pop();
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user