summaryrefslogtreecommitdiff
path: root/test/wasm2js/br_table_to_loop.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/br_table_to_loop.2asm.js')
-rw-r--r--test/wasm2js/br_table_to_loop.2asm.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/wasm2js/br_table_to_loop.2asm.js b/test/wasm2js/br_table_to_loop.2asm.js
index a0844d936..939e60bf6 100644
--- a/test/wasm2js/br_table_to_loop.2asm.js
+++ b/test/wasm2js/br_table_to_loop.2asm.js
@@ -10,7 +10,7 @@ function asmFunc(imports) {
var Math_ceil = Math.ceil;
var Math_trunc = Math.trunc;
var Math_sqrt = Math.sqrt;
- function $0() {
+ function exp1() {
block : {
loop : while (1) switch (1 | 0) {
case 1:
@@ -21,7 +21,7 @@ function asmFunc(imports) {
}
}
- function $1() {
+ function exp2() {
block : {
loop : while (1) switch (1 | 0) {
case 1:
@@ -33,8 +33,8 @@ function asmFunc(imports) {
}
return {
- "exp1": $0,
- "exp2": $1
+ "exp1": exp1,
+ "exp2": exp2
};
}