diff options
Diffstat (limited to 'test/hello_world.fromasm.clamp')
-rw-r--r-- | test/hello_world.fromasm.clamp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/hello_world.fromasm.clamp b/test/hello_world.fromasm.clamp index 160736cd1..51c2fd31d 100644 --- a/test/hello_world.fromasm.clamp +++ b/test/hello_world.fromasm.clamp @@ -1,14 +1,14 @@ (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)) - (data (get_global $memoryBase) "hello_world.asm.js") - (export "add" (func $add)) - (func $add (param $0 i32) (param $1 i32) (result i32) - (i32.add - (get_local $0) - (get_local $1) - ) + (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)) + (data (get_global $memoryBase) "hello_world.asm.js") + (export "add" (func $add)) + (func $add (param $0 i32) (param $1 i32) (result i32) + (i32.add + (get_local $0) + (get_local $1) ) + ) ) |