Skip to content

Commit

Permalink
update test data
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
mathetake committed Jul 19, 2024
1 parent 522d7b4 commit 5afe7f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imports/emscripten/emscripten_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var growWasm []byte

// invokeWasm was generated by the following:
//
// cd testdata; wat2wasm --debug-names invoke.wat
// cd testdata; wasm-tools parse invoke.wat -o invoke.wasm
//
//go:embed testdata/invoke.wasm
var invokeWasm []byte
Expand Down
Binary file modified imports/emscripten/testdata/invoke.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions imports/emscripten/testdata/invoke.wat
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
(table 22 22 funcref)

(global $__stack_pointer (mut i32) (i32.const 65536))
(func $stackSave (export "stackSave") (result i32)
(func $stackSave (export "emscripten_stack_get_current") (result i32)
global.get $__stack_pointer)
(func $stackRestore (export "stackRestore") (param i32)
(func $stackRestore (export "_emscripten_stack_restore") (param i32)
local.get 0
global.set $__stack_pointer)
(func $setThrew (export "setThrew") (param i32 i32))
Expand Down

0 comments on commit 5afe7f1

Please sign in to comment.