diff options
Diffstat (limited to 'test/hello_world.fromasm.no-opts')
-rw-r--r-- | test/hello_world.fromasm.no-opts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/hello_world.fromasm.no-opts b/test/hello_world.fromasm.no-opts index dae1480b7..3d2e51b9c 100644 --- a/test/hello_world.fromasm.no-opts +++ b/test/hello_world.fromasm.no-opts @@ -1,15 +1,15 @@ (module - (import "env" "memory" (memory $0 256 256)) - (import "env" "table" (table 0 0 anyfunc)) - (import "env" "memoryBase" (global $memoryBase i32)) - (import "env" "tableBase" (global $tableBase i32)) - (export "add" (func $add)) - (func $add (param $x i32) (param $y i32) (result i32) - (return - (i32.add - (get_local $x) - (get_local $y) - ) - ) + (import "env" "memory" (memory $0 256 256)) + (import "env" "table" (table 0 0 anyfunc)) + (import "env" "memoryBase" (global $memoryBase i32)) + (import "env" "tableBase" (global $tableBase i32)) + (export "add" (func $add)) + (func $add (param $x i32) (param $y i32) (result i32) + (return + (i32.add + (get_local $x) + (get_local $y) + ) ) + ) ) |