summaryrefslogtreecommitdiff
path: root/test/wasm2js/func_ptrs.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/func_ptrs.2asm.js')
-rw-r--r--test/wasm2js/func_ptrs.2asm.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/wasm2js/func_ptrs.2asm.js b/test/wasm2js/func_ptrs.2asm.js
index 5ad0aff27..1415c414f 100644
--- a/test/wasm2js/func_ptrs.2asm.js
+++ b/test/wasm2js/func_ptrs.2asm.js
@@ -32,9 +32,9 @@ function asmFunc(global, env, buffer) {
return $0 + 1 | 0 | 0;
}
- function $5(a) {
- a = a | 0;
- return a - 2 | 0 | 0;
+ function $5($0) {
+ $0 = $0 | 0;
+ return $0 - 2 | 0 | 0;
}
function $6($0) {
@@ -100,14 +100,14 @@ function asmFunc(global, env, buffer) {
return 5 | 0;
}
- function $5(i) {
- i = i | 0;
- return FUNCTION_TABLE[i]() | 0 | 0;
+ function $5($0) {
+ $0 = $0 | 0;
+ return FUNCTION_TABLE[$0]() | 0 | 0;
}
- function $6(i) {
- i = i | 0;
- return FUNCTION_TABLE[i]() | 0 | 0;
+ function $6($0) {
+ $0 = $0 | 0;
+ return FUNCTION_TABLE[$0]() | 0 | 0;
}
var FUNCTION_TABLE = [t1, t2, t3, u1, u2, t1, t3];
@@ -152,9 +152,9 @@ function asmFunc(global, env, buffer) {
return 2 | 0;
}
- function $2(i) {
- i = i | 0;
- return FUNCTION_TABLE[i]() | 0 | 0;
+ function $2($0) {
+ $0 = $0 | 0;
+ return FUNCTION_TABLE[$0]() | 0 | 0;
}
var FUNCTION_TABLE = [t1, t2];