mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Merge branch 'main' into div-0-should-crash
This commit is contained in:
commit
20bcd70ad2
195 changed files with 7098 additions and 1165 deletions
|
@ -2252,7 +2252,7 @@ impl<'a> LowLevelCall<'a> {
|
|||
|
||||
fn num_to_str(&self, backend: &mut WasmBackend<'a, '_>) {
|
||||
let arg_layout = backend.storage.symbol_layouts[&self.arguments[0]];
|
||||
match backend.layout_interner.get_repr(arg_layout) {
|
||||
match backend.layout_interner.runtime_representation(arg_layout) {
|
||||
LayoutRepr::Builtin(Builtin::Int(width)) => {
|
||||
self.load_args_and_call_zig(backend, &bitcode::STR_FROM_INT[width])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue