Skip to content

Commit

Permalink
Merge branch 'master' of gitee.com:wa-lang/wa
Browse files Browse the repository at this point in the history
  • Loading branch information
chai2010 committed Apr 19, 2024
2 parents f242bbe + 8d09d9d commit 3d886e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/backends/compiler_wat/js_binding_tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class WaApp {
string_store: (addr, v) => {
const b = this._mem_util.i32_load(addr);
this._mem_util.block_release(b);
let ns = set_string(v);
let ns = this._mem_util.set_string(v);
this._mem_util.i32_store(addr, ns[0]);
this._mem_util.i32_store(addr + 4, ns[1]);
this._mem_util.i32_store(addr + 8, ns[2]);
Expand Down

0 comments on commit 3d886e7

Please sign in to comment.