mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Remove obsolete ListLenUsize
This commit is contained in:
parent
762f52b714
commit
87d4760356
16 changed files with 29 additions and 64 deletions
|
@ -260,14 +260,13 @@ impl<'a> LowLevelCall<'a> {
|
|||
StrWithCapacity => self.load_args_and_call_zig(backend, bitcode::STR_WITH_CAPACITY),
|
||||
|
||||
// List
|
||||
ListLenU64 => {
|
||||
ListLen => {
|
||||
self.load_list_len_usize(backend);
|
||||
|
||||
// Length is stored as 32 bits in memory on wasm32,
|
||||
// but List.len always returns U64
|
||||
backend.code_builder.i64_extend_u_i32();
|
||||
}
|
||||
ListLenUsize => self.load_list_len_usize(backend),
|
||||
|
||||
ListGetCapacity => self.load_args_and_call_zig(backend, bitcode::LIST_CAPACITY),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue