summaryrefslogtreecommitdiff
path: root/test/wasm2js/hello_world.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/hello_world.2asm.js')
-rw-r--r--test/wasm2js/hello_world.2asm.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/wasm2js/hello_world.2asm.js b/test/wasm2js/hello_world.2asm.js
index 45dc5d7db..f3e0d33bb 100644
--- a/test/wasm2js/hello_world.2asm.js
+++ b/test/wasm2js/hello_world.2asm.js
@@ -21,10 +21,10 @@ function asmFunc(global, env, buffer) {
var abort = env.abort;
var nan = global.NaN;
var infinity = global.Infinity;
- function add(x, y) {
- x = x | 0;
- y = y | 0;
- return x + y | 0 | 0;
+ function add($0, $1) {
+ $0 = $0 | 0;
+ $1 = $1 | 0;
+ return $0 + $1 | 0 | 0;
}
var FUNCTION_TABLE = [];