summaryrefslogtreecommitdiff
path: root/test/wasm2js/br_table_temp.2asm.js
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-11-22 14:44:36 -0800
committerGitHub <noreply@github.com>2024-11-22 14:44:36 -0800
commitca61aeeb87e330635548ce6368ac053576ee994c (patch)
treecc1351fe7377b100a4cfd3ef756132faf370e069 /test/wasm2js/br_table_temp.2asm.js
parent013a8d346807da751fec283eddf86aee9ea28382 (diff)
downloadbinaryen-ca61aeeb87e330635548ce6368ac053576ee994c.tar.gz
binaryen-ca61aeeb87e330635548ce6368ac053576ee994c.tar.bz2
binaryen-ca61aeeb87e330635548ce6368ac053576ee994c.zip
Remove AutoDrop (#7106)
The only internal use was in wasm2js, which doesn't need it. Fix API tests to explicitly drop expressions as necessary.
Diffstat (limited to 'test/wasm2js/br_table_temp.2asm.js')
-rw-r--r--test/wasm2js/br_table_temp.2asm.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/wasm2js/br_table_temp.2asm.js b/test/wasm2js/br_table_temp.2asm.js
index 01a2238e1..245792eaf 100644
--- a/test/wasm2js/br_table_temp.2asm.js
+++ b/test/wasm2js/br_table_temp.2asm.js
@@ -196,6 +196,7 @@ function asmFunc(imports) {
function $14($0_1) {
$0_1 = $0_1 | 0;
+ var $2_1 = 0;
block1 : {
switch ($0_1 | 0) {
case 0:
@@ -12577,7 +12578,7 @@ function asmFunc(imports) {
}
function $21() {
- var $1_1 = 0;
+ var $1_1 = 0, $4_1 = 0, $2_1 = 0;
label : {
dummy();
$1_1 = 5;