Skip to content

Commit

Permalink
fix wasm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bhansconnect committed Nov 29, 2023
1 parent c490462 commit 248976d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compiler/gen_wasm/src/low_level.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
Expand Down

0 comments on commit 248976d

Please sign in to comment.