diff options
author | Alon Zakai <azakai@google.com> | 2022-01-05 09:12:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 09:12:14 -0800 |
commit | 6f599272c66f65472f5e4c8d759d5bca77e47da6 (patch) | |
tree | 58fd0dd6570ee278971479eb32b599c7b28f12f3 /test/wasm2js | |
parent | 1beec37f483505db0c5152be9118b28e45b77316 (diff) | |
download | binaryen-6f599272c66f65472f5e4c8d759d5bca77e47da6.tar.gz binaryen-6f599272c66f65472f5e4c8d759d5bca77e47da6.tar.bz2 binaryen-6f599272c66f65472f5e4c8d759d5bca77e47da6.zip |
Turn an assertion on not colliding with an internal name into an error (#4422)
Without this, the result in a build without assertions might be quite
confusing. See #4410
Also make the internal names more obviously internal names.
Diffstat (limited to 'test/wasm2js')
-rw-r--r-- | test/wasm2js/br_table.2asm.js | 12 | ||||
-rw-r--r-- | test/wasm2js/br_table_temp.2asm.js | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/test/wasm2js/br_table.2asm.js b/test/wasm2js/br_table.2asm.js index a95871c22..be7b89b9f 100644 --- a/test/wasm2js/br_table.2asm.js +++ b/test/wasm2js/br_table.2asm.js @@ -12560,12 +12560,12 @@ function asmFunc(env) { function $20() { var $1_1 = 0, $2_1 = 0, $4_1 = 0; - fake_return_waka123 : { + __binaryen_fake_return : { loop_in : while (1) { $1_1 = 3; switch (0 | 0) { default: - break fake_return_waka123; + break __binaryen_fake_return; }; }; } @@ -12574,13 +12574,13 @@ function asmFunc(env) { function $21() { var $1_1 = 0, $2_1 = 0, $4_1 = 0; - fake_return_waka123 : { + __binaryen_fake_return : { loop_in : while (1) { dummy(); $1_1 = 4; switch (-1 | 0) { default: - break fake_return_waka123; + break __binaryen_fake_return; }; }; } @@ -12589,13 +12589,13 @@ function asmFunc(env) { function $22() { var $1_1 = 0; - fake_return_waka123 : { + __binaryen_fake_return : { loop_in : while (1) { dummy(); $1_1 = 5; switch (1 | 0) { default: - break fake_return_waka123; + break __binaryen_fake_return; }; }; } diff --git a/test/wasm2js/br_table_temp.2asm.js b/test/wasm2js/br_table_temp.2asm.js index 3414631e0..32850d080 100644 --- a/test/wasm2js/br_table_temp.2asm.js +++ b/test/wasm2js/br_table_temp.2asm.js @@ -12556,12 +12556,12 @@ function asmFunc(env) { function $20() { var $1_1 = 0, $2_1 = 0, $4_1 = 0; - fake_return_waka123 : { + __binaryen_fake_return : { loop_in : while (1) { $1_1 = 3; switch (0 | 0) { default: - break fake_return_waka123; + break __binaryen_fake_return; }; }; } @@ -12570,13 +12570,13 @@ function asmFunc(env) { function $21() { var $1_1 = 0, $2_1 = 0, $4_1 = 0; - fake_return_waka123 : { + __binaryen_fake_return : { loop_in : while (1) { dummy(); $1_1 = 4; switch (-1 | 0) { default: - break fake_return_waka123; + break __binaryen_fake_return; }; }; } @@ -12585,13 +12585,13 @@ function asmFunc(env) { function $22() { var $1_1 = 0; - fake_return_waka123 : { + __binaryen_fake_return : { loop_in : while (1) { dummy(); $1_1 = 5; switch (1 | 0) { default: - break fake_return_waka123; + break __binaryen_fake_return; }; }; } |