mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-01 10:52:18 +00:00
Fix resetting of vm stack blocks in CodeBuilder
This commit is contained in:
parent
dff6715a33
commit
18195c8bd7
1 changed files with 3 additions and 1 deletions
|
@ -138,8 +138,10 @@ impl<'a> CodeBuilder<'a> {
|
|||
self.insert_bytes.clear();
|
||||
self.preamble.clear();
|
||||
self.inner_length.clear();
|
||||
self.vm_block_stack.clear();
|
||||
self.import_relocations.clear();
|
||||
|
||||
self.vm_block_stack.truncate(1);
|
||||
self.vm_block_stack[0].value_stack.clear();
|
||||
}
|
||||
|
||||
/**********************************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue