mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
reset join/jump data
This commit is contained in:
parent
672aa14f7c
commit
258513a57c
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,8 @@ impl<'a> WasmBackend<'a> {
|
||||||
// Functions: internal state & IR mappings
|
// Functions: internal state & IR mappings
|
||||||
self.stack_memory = 0;
|
self.stack_memory = 0;
|
||||||
self.symbol_storage_map.clear();
|
self.symbol_storage_map.clear();
|
||||||
// joinpoint_label_map.clear();
|
self.joinpoint_label_map.clear();
|
||||||
|
assert_eq!(self.block_depth, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn build_proc(&mut self, proc: Proc<'a>, sym: Symbol) -> Result<u32, String> {
|
pub fn build_proc(&mut self, proc: Proc<'a>, sym: Symbol) -> Result<u32, String> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue