mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Formatting
This commit is contained in:
parent
92085a0fcb
commit
304e9c904f
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ use roc_mono::layout::{Builtin, Layout};
|
||||||
use crate::layout::WasmLayout;
|
use crate::layout::WasmLayout;
|
||||||
use crate::storage::SymbolStorage;
|
use crate::storage::SymbolStorage;
|
||||||
use crate::{
|
use crate::{
|
||||||
push_stack_frame, copy_memory, pop_stack_frame, round_up_to_alignment, LocalId, PTR_SIZE,
|
copy_memory, pop_stack_frame, push_stack_frame, round_up_to_alignment, LocalId, PTR_SIZE,
|
||||||
PTR_TYPE,
|
PTR_TYPE,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -325,7 +325,7 @@ impl<'a> WasmBackend<'a> {
|
||||||
// If this local is shared with the stack frame pointer, it's already assigned
|
// If this local is shared with the stack frame pointer, it's already assigned
|
||||||
match self.stack_frame_pointer {
|
match self.stack_frame_pointer {
|
||||||
Some(sfp) if sfp == local_id => {}
|
Some(sfp) if sfp == local_id => {}
|
||||||
_ => self.instructions.push(SetLocal(local_id.0))
|
_ => self.instructions.push(SetLocal(local_id.0)),
|
||||||
}
|
}
|
||||||
|
|
||||||
self.build_stmt(following, ret_layout)?;
|
self.build_stmt(following, ret_layout)?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue