mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
rename
This commit is contained in:
parent
daf0a0e02b
commit
7290ef7f98
1 changed files with 3 additions and 3 deletions
|
@ -303,18 +303,18 @@ impl<'a> WasmBackend<'a> {
|
|||
remainder,
|
||||
} => {
|
||||
// make locals for join pointer parameters
|
||||
let mut local_ids = std::vec::Vec::with_capacity(parameters.len());
|
||||
let mut jp_parameter_local_ids = std::vec::Vec::with_capacity(parameters.len());
|
||||
for parameter in parameters.iter() {
|
||||
let wasm_layout = WasmLayout::new(¶meter.layout)?;
|
||||
let local_id = self.insert_local(wasm_layout, parameter.symbol);
|
||||
|
||||
local_ids.push(local_id);
|
||||
jp_parameter_local_ids.push(local_id);
|
||||
}
|
||||
|
||||
self.start_block();
|
||||
|
||||
self.joinpoint_label_map
|
||||
.insert(*id, (self.block_depth, local_ids));
|
||||
.insert(*id, (self.block_depth, jp_parameter_local_ids));
|
||||
|
||||
self.build_stmt(remainder, ret_layout)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue