mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
clippy
This commit is contained in:
parent
51f3752c94
commit
052ce8f2aa
8 changed files with 114 additions and 18 deletions
|
@ -1945,7 +1945,7 @@ impl<'a, 'r> WasmBackend<'a, 'r> {
|
|||
|
||||
let from_offset = tag_offset + field_offset;
|
||||
|
||||
self.code_builder.i32_const(from_offset as i32)
|
||||
self.code_builder.i32_const(from_offset as i32);
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
|
|
@ -11,7 +11,7 @@ use roc_mono::low_level::HigherOrder;
|
|||
|
||||
use crate::backend::{ProcLookupData, ProcSource, WasmBackend};
|
||||
use crate::layout::{CallConv, StackMemoryFormat, WasmLayout};
|
||||
use crate::storage::{AddressValue, StackMemoryLocation, StoredValue, StoredVarKind};
|
||||
use crate::storage::{AddressValue, StackMemoryLocation, StoredValue};
|
||||
use crate::PTR_TYPE;
|
||||
use roc_wasm_module::{Align, LocalId, ValueType};
|
||||
|
||||
|
@ -1964,7 +1964,6 @@ impl<'a> LowLevelCall<'a> {
|
|||
// PtrStore : Ptr a, a -> {}
|
||||
let ptr_sym = self.arguments[0];
|
||||
let value_sym = self.arguments[1];
|
||||
let layout = self.ret_layout;
|
||||
|
||||
// create a local variable for the heap pointer
|
||||
let ptr_local_id = match backend.storage.ensure_value_has_local(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue