summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/binaryen.js/kitchen-sink.js18
-rw-r--r--test/binaryen.js/kitchen-sink.js.txt2109
-rw-r--r--test/example/c-api-kitchen-sink.c13
-rw-r--r--test/example/c-api-kitchen-sink.txt12
-rw-r--r--test/example/c-api-relooper-unreachable-if.cpp1
-rw-r--r--test/example/c-api-unused-mem.cpp1
-rw-r--r--test/wasm2js/br_table_temp.2asm.js3
-rw-r--r--test/wasm2js/emscripten.2asm.js1
-rw-r--r--test/wasm2js/labels.2asm.js6
-rw-r--r--test/wasm2js/refs.2asm.js4
-rw-r--r--test/wasm2js/switch.2asm.js4
-rw-r--r--test/wasm2js/unreachable-later.2asm.js2
12 files changed, 39 insertions, 2135 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js
index 6e6808ab8..acef392c3 100644
--- a/test/binaryen.js/kitchen-sink.js
+++ b/test/binaryen.js/kitchen-sink.js
@@ -559,7 +559,7 @@ function test_core() {
// All the rest
module.block('', []), // block with no name
module.if(temp1, temp2, temp3),
- module.if(temp4, temp5),
+ module.if(temp4, module.drop(temp5)),
module.loop("in", makeInt32(0)),
module.loop(null, makeInt32(0)),
module.break("the-value", temp6, temp7),
@@ -686,6 +686,14 @@ function test_core() {
console.log("getExpressionInfo=" + JSON.stringify(cleanInfo(binaryen.getExpressionInfo(valueList[3]))));
console.log(binaryen.emitText(valueList[3])); // test printing a standalone expression
+ // Add drops of concrete expressions, except the last.
+ for (var i = 0; i < valueList.length - 1; i++) {
+ var type = binaryen.Expression.getType(valueList[i]);
+ if (type != binaryen.none && type != binaryen.unreachable) {
+ valueList[i] = module.drop(valueList[i]);
+ }
+ }
+
console.log("getExpressionInfo(i32.const)=" + JSON.stringify(binaryen.getExpressionInfo(module.i32.const(5))));
console.log("getExpressionInfo(i64.const)=" + JSON.stringify(binaryen.getExpressionInfo(module.i64.const(6, 7))));
console.log("getExpressionInfo(f32.const)=" + JSON.stringify(binaryen.getExpressionInfo(module.f32.const(8.5))));
@@ -698,10 +706,10 @@ function test_core() {
}
// Make the main body of the function. and one block with a return value, one without
- var value = module.block("the-value", valueList);
+ var value = module.block("the-value", valueList, binaryen.i32);
var droppedValue = module.drop(value);
var nothing = module.block("the-nothing", [ droppedValue ]);
- var body = module.block("the-body", [ nothing, makeInt32(42) ]);
+ var body = module.block("the-body", [ nothing, makeInt32(42) ], binaryen.i32);
// Create the function
var sinker = module.addFunction("kitchen()sinker", iIfF, binaryen.i32, [ binaryen.i32 ], body);
@@ -749,13 +757,9 @@ function test_core() {
var starter = module.addFunction("starter", binaryen.none, binaryen.none, [], module.nop());
module.setStart(starter);
- // A bunch of our code needs drop, auto-add it
- module.autoDrop();
-
var features = binaryen.Features.All;
module.setFeatures(features);
assert(module.getFeatures() == features);
- console.log(module.emitText());
// Verify it validates
assert(module.validate());
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt
index d41301751..d38c16857 100644
--- a/test/binaryen.js/kitchen-sink.js.txt
+++ b/test/binaryen.js/kitchen-sink.js.txt
@@ -1927,2116 +1927,13 @@ getExpressionInfo(tuple[3])={"id":14,"type":5,"value":3.7}
)
(block
)
- (if
- (i32.const 1)
- (then
- (drop
- (i32.const 2)
- )
- )
- (else
- (drop
- (i32.const 3)
- )
- )
- )
- (if
- (i32.const 4)
- (then
- (drop
- (i32.const 5)
- )
- )
- )
- (drop
- (loop $in (result i32)
- (i32.const 0)
- )
- )
- (drop
- (loop (result i32)
- (i32.const 0)
- )
- )
- (drop
- (br_if $the-value
- (i32.const 1)
- (i32.const 0)
- )
- )
- (br_if $the-nothing
- (i32.const 2)
- )
- (br $the-value
- (i32.const 3)
- )
- (br $the-nothing)
- (br_table $the-value $the-value
- (i32.const 1)
- (i32.const 0)
- )
- (br_table $the-nothing $the-nothing
- (i32.const 2)
- )
- (drop
- (i32.eqz
- (call $"kitchen()sinker"
- (i32.const 13)
- (i64.const 37)
- (f32.const 1.2999999523162842)
- (f64.const 3.7)
- )
- )
- )
- (drop
- (i32.eqz
- (i32.trunc_f32_s
- (call $an-imported
- (i32.const 13)
- (f64.const 3.7)
- )
- )
- )
- )
- (drop
- (i32.eqz
- (call_indirect $t0 (type $0)
- (i32.const 13)
- (i64.const 37)
- (f32.const 1.2999999523162842)
- (f64.const 3.7)
- (i32.const 2449)
- )
- )
- )
- (drop
- (local.get $0)
- )
- (local.set $0
- (i32.const 101)
- )
- (drop
- (local.tee $0
- (i32.const 102)
- )
- )
- (drop
- (i32.load
- (i32.const 1)
- )
- )
- (drop
- (i64.load16_s offset=2 align=1
- (i32.const 8)
- )
- )
- (drop
- (f32.load
- (i32.const 2)
- )
- )
- (drop
- (f64.load offset=2
- (i32.const 9)
- )
- )
- (i32.store
- (i32.const 10)
- (i32.const 11)
- )
- (i64.store offset=2 align=4
- (i32.const 110)
- (i64.const 111)
- )
- (drop
- (select
- (i32.const 3)
- (i32.const 5)
- (i32.const 1)
- )
- )
- (return
- (i32.const 1337)
- )
- (return_call $"kitchen()sinker"
- (i32.const 13)
- (i64.const 37)
- (f32.const 1.2999999523162842)
- (f64.const 3.7)
- )
- (return_call_indirect $t0 (type $0)
- (i32.const 13)
- (i64.const 37)
- (f32.const 1.2999999523162842)
- (f64.const 3.7)
- (i32.const 2449)
- )
- (drop
- (ref.is_null
- (ref.null noextern)
- )
- )
- (drop
- (ref.is_null
- (ref.null nofunc)
- )
- )
- (drop
- (ref.is_null
- (ref.func $"kitchen()sinker")
- )
- )
- (drop
- (select (result funcref)
- (ref.null nofunc)
- (ref.func $"kitchen()sinker")
- (i32.const 1)
- )
- )
- (drop
- (ref.eq
- (ref.null none)
- (ref.null none)
- )
- )
- (try
- (do
- (throw $a-tag
- (i32.const 0)
- )
- )
- (catch $a-tag
- (drop
- (pop i32)
- )
- )
- )
- (i32.atomic.store
- (i32.const 0)
- (i32.atomic.load
- (i32.const 0)
- )
- )
- (drop
- (memory.atomic.wait32
- (i32.const 0)
- (i32.const 0)
- (i64.const 0)
- )
- )
- (drop
- (memory.atomic.notify
- (i32.const 0)
- (i32.const 0)
- )
- )
- (atomic.fence)
- (tuple.drop 4
- (tuple.make 4
- (i32.const 13)
- (i64.const 37)
- (f32.const 1.2999999523162842)
- (f64.const 3.7)
- )
- )
- (drop
- (tuple.extract 4 2
- (tuple.make 4
- (i32.const 13)
- (i64.const 37)
- (f32.const 1.2999999523162842)
- (f64.const 3.7)
- )
- )
- )
- (drop
- (pop i32)
- )
- (drop
- (pop i64)
- )
- (drop
- (pop f32)
- )
- (drop
- (pop f64)
- )
- (drop
- (pop v128)
- )
- (drop
- (pop funcref)
- )
- (drop
- (pop externref)
- )
- (drop
- (pop anyref)
- )
- (drop
- (pop eqref)
- )
- (drop
- (pop i31ref)
- )
- (drop
- (pop structref)
- )
- (drop
- (pop stringref)
- )
- (drop
- (memory.size)
- )
- (drop
- (memory.grow
- (i32.const 0)
- )
- )
- (drop
- (ref.i31
- (i32.const 0)
- )
- )
- (drop
- (i31.get_s
- (ref.i31
- (i32.const 1)
- )
- )
- )
- (drop
- (i31.get_u
- (ref.i31
- (i32.const 2)
- )
- )
- )
- (nop)
- (unreachable)
- )
- )
- )
- (i32.const 42)
- )
- )
- (func $starter (type $3)
- (nop)
- )
-)
-
-(module
- (type $0 (func (param i32 i64 f32 f64) (result i32)))
- (type $1 (func (param i32)))
- (type $2 (func (param i32 f64) (result f32)))
- (type $3 (func))
- (import "module" "base" (global $a-global-imp i32))
- (import "module" "base" (global $a-mut-global-imp (mut i32)))
- (import "module" "base" (func $an-imported (type $2) (param i32 f64) (result f32)))
- (import "module" "base" (tag $a-tag-imp (param i32)))
- (global $a-global i32 (i32.const 1))
- (memory $0 1 256 shared)
- (data $x0 (i32.const 10) "hello, world")
- (data $y1 "I am passive")
- (table $t0 1 funcref)
- (elem $e0 (i32.const 0) $"kitchen()sinker")
- (tag $a-tag (param i32))
- (export "mem" (memory $0))
- (export "kitchen_sinker" (func $"kitchen()sinker"))
- (export "a-global-exp" (global $a-global))
- (export "a-tag-exp" (tag $a-tag))
- (start $starter)
- (func $"kitchen()sinker" (type $0) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32)
- (local $4 i32)
- (block $the-body (result i32)
- (block $the-nothing
- (drop
- (block $the-value (result i32)
- (drop
- (i32.clz
- (i32.const -10)
- )
- )
- (drop
- (i64.ctz
- (i64.const -22)
- )
- )
- (drop
- (i32.popcnt
- (i32.const -10)
- )
- )
- (drop
- (f32.neg
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (f64.abs
- (f64.const -9005.841)
- )
- )
- (drop
- (f32.ceil
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (f64.floor
- (f64.const -9005.841)
- )
- )
- (drop
- (f32.trunc
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (f32.nearest
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (f64.sqrt
- (f64.const -9005.841)
- )
- )
- (drop
- (i32.eqz
- (i32.const -10)
- )
- )
- (drop
- (i64.extend_i32_s
- (i32.const -10)
- )
- )
- (drop
- (i64.extend_i32_u
- (i32.const -10)
- )
- )
- (drop
- (i32.wrap_i64
- (i64.const -22)
- )
- )
- (drop
- (i32.trunc_f32_s
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i64.trunc_f32_s
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i32.trunc_f32_u
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i64.trunc_f32_u
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i32.trunc_f64_s
- (f64.const -9005.841)
- )
- )
- (drop
- (i64.trunc_f64_s
- (f64.const -9005.841)
- )
- )
- (drop
- (i32.trunc_f64_u
- (f64.const -9005.841)
- )
- )
- (drop
- (i64.trunc_f64_u
- (f64.const -9005.841)
- )
- )
- (drop
- (i32.trunc_sat_f32_s
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i64.trunc_sat_f32_s
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i32.trunc_sat_f32_u
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i64.trunc_sat_f32_u
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i32.trunc_sat_f64_s
- (f64.const -9005.841)
- )
- )
- (drop
- (i64.trunc_sat_f64_s
- (f64.const -9005.841)
- )
- )
- (drop
- (i32.trunc_sat_f64_u
- (f64.const -9005.841)
- )
- )
- (drop
- (i64.trunc_sat_f64_u
- (f64.const -9005.841)
- )
- )
- (drop
- (i32.reinterpret_f32
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (i64.reinterpret_f64
- (f64.const -9005.841)
- )
- )
- (drop
- (f32.convert_i32_s
- (i32.const -10)
- )
- )
- (drop
- (f64.convert_i32_s
- (i32.const -10)
- )
- )
- (drop
- (f32.convert_i32_u
- (i32.const -10)
- )
- )
- (drop
- (f64.convert_i32_u
- (i32.const -10)
- )
- )
- (drop
- (f32.convert_i64_s
- (i64.const -22)
- )
- )
- (drop
- (f64.convert_i64_s
- (i64.const -22)
- )
- )
- (drop
- (f32.convert_i64_u
- (i64.const -22)
- )
- )
- (drop
- (f64.convert_i64_u
- (i64.const -22)
- )
- )
- (drop
- (f64.promote_f32
- (f32.const -33.61199951171875)
- )
- )
- (drop
- (f32.demote_f64
- (f64.const -9005.841)
- )
- )
- (drop
- (f32.reinterpret_i32
- (i32.const -10)
- )
- )
- (drop
- (f64.reinterpret_i64
- (i64.const -22)
- )
- )
- (drop
- (i8x16.splat
- (i32.const 42)
- )
- )
- (drop
- (i16x8.splat
- (i32.const 42)
- )
- )
- (drop
- (i32x4.splat
- (i32.const 42)
- )
- )
- (drop
- (i64x2.splat
- (i64.const 1958505087099)
- )
- )
- (drop
- (f32x4.splat
- (f32.const 42)
- )
- )
- (drop
- (f64x2.splat
- (f64.const 42)
- )
- )
- (drop
- (v128.not
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.any_true
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.popcnt
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.abs
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.neg
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.all_true
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.bitmask
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.abs
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.neg
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.all_true
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.bitmask
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extadd_pairwise_i8x16_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extadd_pairwise_i8x16_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.abs
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.neg
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.all_true
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.bitmask
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extadd_pairwise_i16x8_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extadd_pairwise_i16x8_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.abs
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.neg
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.all_true
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.bitmask
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.abs
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.neg
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.sqrt
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.abs
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.neg
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.sqrt
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.convert_low_i32x4_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.convert_low_i32x4_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.promote_low_f32x4
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.trunc_sat_f32x4_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.trunc_sat_f32x4_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.convert_i32x4_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.convert_i32x4_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.demote_f64x2_zero
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extend_low_i8x16_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extend_high_i8x16_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extend_low_i8x16_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extend_high_i8x16_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extend_low_i16x8_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extend_high_i16x8_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extend_low_i16x8_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extend_high_i16x8_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.trunc_sat_f64x2_s_zero
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.trunc_sat_f64x2_u_zero
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extend_low_i32x4_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extend_high_i32x4_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extend_low_i32x4_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extend_high_i32x4_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32.add
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (f64.sub
- (f64.const -9005.841)
- (f64.const -9007.333)
- )
- )
- (drop
- (i32.div_s
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i64.div_u
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (i64.rem_s
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (i32.rem_u
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i32.and
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i64.or
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (i32.xor
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i64.shl
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (i64.shr_u
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (i32.shr_s
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i32.rotl
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i64.rotr
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (f32.div
- (f32.const -33.61199951171875)
- (f32.const -62.5)
- )
- )
- (drop
- (f64.copysign
- (f64.const -9005.841)
- (f64.const -9007.333)
- )
- )
- (drop
- (f32.min
- (f32.const -33.61199951171875)
- (f32.const -62.5)
- )
- )
- (drop
- (f64.max
- (f64.const -9005.841)
- (f64.const -9007.333)
- )
- )
- (drop
- (i32.eq
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (f32.ne
- (f32.const -33.61199951171875)
- (f32.const -62.5)
- )
- )
- (drop
- (i32.lt_s
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i64.lt_u
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (i64.le_s
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (i32.le_u
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i64.gt_s
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (i32.gt_u
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i32.ge_s
- (i32.const -10)
- (i32.const -11)
- )
- )
- (drop
- (i64.ge_u
- (i64.const 4294967274)
- (i64.const 4294967273)
- )
- )
- (drop
- (f32.lt
- (f32.const -33.61199951171875)
- (f32.const -62.5)
- )
- )
- (drop
- (f64.le
- (f64.const -9005.841)
- (f64.const -9007.333)
- )
- )
- (drop
- (f64.gt
- (f64.const -9005.841)
- (f64.const -9007.333)
- )
- )
- (drop
- (f32.ge
- (f32.const -33.61199951171875)
- (f32.const -62.5)
- )
- )
- (drop
- (i8x16.eq
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.ne
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.lt_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.lt_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.gt_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.gt_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.le_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.le_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.ge_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.ge_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.eq
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.ne
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.lt_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.lt_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.gt_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.gt_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.le_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.le_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.ge_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.ge_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.eq
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.ne
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.lt_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.lt_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.gt_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.gt_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.le_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.le_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.ge_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.ge_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.eq
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.ne
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.lt_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.gt_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.le_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.ge_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.eq
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.ne
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.lt
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.gt
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.le
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.ge
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.eq
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.ne
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.lt
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.gt
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.le
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.ge
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.and
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.or
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.xor
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.andnot
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.add
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.add_sat_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.add_sat_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.sub
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.sub_sat_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.sub_sat_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.min_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.min_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.max_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.max_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.avgr_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.add
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.add_sat_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.add_sat_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.sub
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.sub_sat_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.sub_sat_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.mul
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.min_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.min_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.max_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.max_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.avgr_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.q15mulr_sat_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extmul_low_i8x16_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extmul_high_i8x16_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extmul_low_i8x16_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extmul_high_i8x16_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.add
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.sub
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.mul
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.min_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.min_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.max_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.max_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.dot_i16x8_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extmul_low_i16x8_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extmul_high_i16x8_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extmul_low_i16x8_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extmul_high_i16x8_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.add
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.sub
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.mul
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extmul_low_i32x4_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extmul_high_i32x4_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extmul_low_i32x4_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extmul_high_i32x4_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.add
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.sub
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.mul
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.div
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.min
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.max
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.pmin
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.pmax
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.ceil
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.floor
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.trunc
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f32x4.nearest
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.add
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.sub
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.mul
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.div
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.min
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.max
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.pmin
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.pmax
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.ceil
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.floor
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.trunc
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.nearest
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.narrow_i16x8_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.narrow_i16x8_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.narrow_i32x4_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.narrow_i32x4_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.swizzle
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.extract_lane_s 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i8x16.extract_lane_u 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extract_lane_s 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.extract_lane_u 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i32x4.extract_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i64x2.extract_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
(drop
- (f32x4.extract_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (f64x2.extract_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (i16x8.replace_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 42)
- )
- )
- (drop
- (i8x16.replace_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 42)
- )
- )
- (drop
- (i32x4.replace_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 42)
- )
- )
- (drop
- (i64x2.replace_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i64.const 184683593770)
- )
- )
- (drop
- (f32x4.replace_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (f32.const 42)
- )
- )
- (drop
- (f64x2.replace_lane 1
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (f64.const 42)
- )
- )
- (drop
- (i8x16.shl
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i8x16.shr_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i8x16.shr_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i16x8.shl
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i16x8.shr_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i16x8.shr_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i32x4.shl
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i32x4.shr_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i32x4.shr_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i64x2.shl
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (i64x2.shr_s
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
+ (if (result i32)
(i32.const 1)
- )
- )
- (drop
- (i64x2.shr_u
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (i32.const 1)
- )
- )
- (drop
- (v128.load8_splat
- (i32.const 128)
- )
- )
- (drop
- (v128.load16_splat offset=16 align=1
- (i32.const 128)
- )
- )
- (drop
- (v128.load32_splat offset=16
- (i32.const 128)
- )
- )
- (drop
- (v128.load64_splat align=4
- (i32.const 128)
- )
- )
- (drop
- (v128.load8x8_s
- (i32.const 128)
- )
- )
- (drop
- (v128.load8x8_u
- (i32.const 128)
- )
- )
- (drop
- (v128.load16x4_s
- (i32.const 128)
- )
- )
- (drop
- (v128.load16x4_u
- (i32.const 128)
- )
- )
- (drop
- (v128.load32x2_s
- (i32.const 128)
- )
- )
- (drop
- (v128.load32x2_u
- (i32.const 128)
- )
- )
- (drop
- (v128.load32_zero
- (i32.const 128)
- )
- )
- (drop
- (v128.load64_zero
- (i32.const 128)
- )
- )
- (drop
- (v128.load8_lane 0
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.load8_lane offset=1 15
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.load16_lane 0
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.load16_lane offset=2 align=1 7
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.load32_lane 0
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.load32_lane offset=4 align=2 3
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.load64_lane 0
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.load64_lane offset=8 align=4 1
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (v128.store8_lane 0
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- (v128.store8_lane offset=1 15
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- (v128.store16_lane 0
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- (v128.store16_lane offset=2 align=1 7
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- (v128.store32_lane 0
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- (v128.store32_lane offset=4 align=2 3
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- (v128.store64_lane 0
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- (v128.store64_lane offset=8 align=4 1
- (i32.const 128)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- (drop
- (i8x16.shuffle 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (drop
- (v128.bitselect
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- (v128.const i32x4 0x04030201 0x08070605 0x0c0b0a09 0x100f0e0d)
- )
- )
- (memory.init $x0
- (i32.const 1024)
- (i32.const 0)
- (i32.const 12)
- )
- (data.drop $x0)
- (memory.copy
- (i32.const 2048)
- (i32.const 1024)
- (i32.const 12)
- )
- (memory.fill
- (i32.const 0)
- (i32.const 42)
- (i32.const 1024)
- )
- (block
- )
- (if
- (i32.const 1)
- (then
- (drop
+ (then
(i32.const 2)
)
- )
- (else
- (drop
+ (else
(i32.const 3)
)
)
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index a6a196ae6..93a6281f8 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -973,7 +973,7 @@ void test_core() {
// All the rest
BinaryenBlock(module, NULL, NULL, 0, -1), // block with no name and no type
BinaryenIf(module, temp1, temp2, temp3),
- BinaryenIf(module, temp4, temp5, NULL),
+ BinaryenIf(module, temp4, BinaryenDrop(module, temp5), NULL),
BinaryenLoop(module, "in", makeInt32(module, 0)),
BinaryenLoop(module, NULL, makeInt32(module, 0)),
BinaryenBreak(module, "the-value", temp6, temp7),
@@ -1232,6 +1232,14 @@ void test_core() {
BinaryenExpressionPrint(
valueList[3]); // test printing a standalone expression
+ // Add drops of concrete expressions
+ for (int i = 0; i < sizeof(valueList) / sizeof(valueList[0]); ++i) {
+ BinaryenType type = BinaryenExpressionGetType(valueList[i]);
+ if (type != BinaryenTypeNone() && type != BinaryenTypeUnreachable()) {
+ valueList[i] = BinaryenDrop(module, valueList[i]);
+ }
+ }
+
// Make the main body of the function. and one block with a return value, one
// without
BinaryenExpressionRef value =
@@ -1360,9 +1368,6 @@ void test_core() {
BinaryenNop(module));
BinaryenSetStart(module, starter);
- // A bunch of our code needs drop(), auto-add it
- BinaryenModuleAutoDrop(module);
-
BinaryenFeatures features = BinaryenFeatureAll();
BinaryenModuleSetFeatures(module, features);
assert(BinaryenModuleGetFeatures(module) == features);
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index 657999a55..8a5b6dc87 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -1964,15 +1964,13 @@ BinaryenFeatureAll: 524287
)
(block
)
- (if
- (i32.const 1)
- (then
- (drop
+ (drop
+ (if (result i32)
+ (i32.const 1)
+ (then
(i32.const 2)
)
- )
- (else
- (drop
+ (else
(i32.const 3)
)
)
diff --git a/test/example/c-api-relooper-unreachable-if.cpp b/test/example/c-api-relooper-unreachable-if.cpp
index 96c6c1149..8723aea83 100644
--- a/test/example/c-api-relooper-unreachable-if.cpp
+++ b/test/example/c-api-relooper-unreachable-if.cpp
@@ -13,7 +13,6 @@ int main() {
RelooperRef the_relooper = NULL;
the_module = BinaryenModuleCreate();
expressions[size_t(NULL)] = BinaryenExpressionRef(NULL);
- BinaryenModuleAutoDrop(the_module);
{
const char* segmentNames[] = {"0"};
const char* segmentDatas[] = {0};
diff --git a/test/example/c-api-unused-mem.cpp b/test/example/c-api-unused-mem.cpp
index 750f3b703..f8bce0074 100644
--- a/test/example/c-api-unused-mem.cpp
+++ b/test/example/c-api-unused-mem.cpp
@@ -14,7 +14,6 @@ int main() {
RelooperRef the_relooper = NULL;
the_module = BinaryenModuleCreate();
expressions[size_t(NULL)] = BinaryenExpressionRef(NULL);
- BinaryenModuleAutoDrop(the_module);
{
const char* segmentNames[] = {"0"};
const char* segmentDatas[] = {0};
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;
diff --git a/test/wasm2js/emscripten.2asm.js b/test/wasm2js/emscripten.2asm.js
index 8ba8564ce..24a556b25 100644
--- a/test/wasm2js/emscripten.2asm.js
+++ b/test/wasm2js/emscripten.2asm.js
@@ -192,6 +192,7 @@ function asmFunc(imports) {
function bools(x) {
x = x | 0;
+ var $32 = 0;
bools((HEAPU8[0 >> 0] | 0) & 1 | 0 | 0) | 0;
bools((HEAP8[0 >> 0] | 0) & 1 | 0 | 0) | 0;
bools((HEAPU16[0 >> 1] | 0) & 1 | 0 | 0) | 0;
diff --git a/test/wasm2js/labels.2asm.js b/test/wasm2js/labels.2asm.js
index 431e172d9..37eb9fccb 100644
--- a/test/wasm2js/labels.2asm.js
+++ b/test/wasm2js/labels.2asm.js
@@ -20,7 +20,7 @@ function asmFunc(imports) {
}
function $1() {
- var i = 0, $6_1 = 0;
+ var i = 0, $6_1 = 0, $9_1 = 0, $7_1 = 0;
i = 0;
exit : {
cont : while (1) {
@@ -36,7 +36,7 @@ function asmFunc(imports) {
}
function $2() {
- var i = 0, $8_1 = 0;
+ var i = 0, $8_1 = 0, $13_1 = 0, $11_1 = 0;
i = 0;
exit : {
cont : while (1) {
@@ -74,7 +74,7 @@ function asmFunc(imports) {
function $4(max) {
max = max | 0;
- var i = 0, $9_1 = 0;
+ var i = 0, $9_1 = 0, $12_1 = 0, $10_1 = 0;
i = 1;
exit : {
cont : while (1) {
diff --git a/test/wasm2js/refs.2asm.js b/test/wasm2js/refs.2asm.js
index 45e510e37..c105b1c1c 100644
--- a/test/wasm2js/refs.2asm.js
+++ b/test/wasm2js/refs.2asm.js
@@ -52,13 +52,13 @@ function asmFunc(imports) {
function funcref_temps($0, $1) {
$1 = +$1;
- var $2 = null, $3 = null, wasm2js_funcref$0 = null, wasm2js_funcref$1 = null, wasm2js_i32$0 = 0;
+ var $2 = null, $3 = null;
$2 = $0;
loop : while (1) {
$3 = funcref_temps;
break loop;
};
- funcref_temps(funcref_temps, +(+((wasm2js_funcref$0 = $2, wasm2js_funcref$1 = $3 || wasm2js_trap(), wasm2js_i32$0 = 0, wasm2js_i32$0 ? wasm2js_funcref$0 : wasm2js_funcref$1) == null | 0)));
+ funcref_temps(funcref_temps, +(+((0 ? $2 : $3) == null | 0)));
}
function named_type_temps() {
diff --git a/test/wasm2js/switch.2asm.js b/test/wasm2js/switch.2asm.js
index 8c4a1f0dd..2d3dcdcec 100644
--- a/test/wasm2js/switch.2asm.js
+++ b/test/wasm2js/switch.2asm.js
@@ -16,7 +16,7 @@ function asmFunc(imports) {
var i64toi32_i32$HIGH_BITS = 0;
function $0(i) {
i = i | 0;
- var j = 0;
+ var j = 0, $7 = 0;
j = 100;
switch_ : {
$7 : {
@@ -49,7 +49,7 @@ function asmFunc(imports) {
function $1(i, i$hi) {
i = i | 0;
i$hi = i$hi | 0;
- var i64toi32_i32$5 = 0, i64toi32_i32$2 = 0, $7 = 0, $7$hi = 0, j = 0, j$hi = 0;
+ var i64toi32_i32$5 = 0, i64toi32_i32$2 = 0, $7 = 0, $7$hi = 0, j = 0, j$hi = 0, $10$hi = 0, $10 = 0;
j = 100;
j$hi = 0;
switch_ : {
diff --git a/test/wasm2js/unreachable-later.2asm.js b/test/wasm2js/unreachable-later.2asm.js
index e5bc7d516..bf1ed59f1 100644
--- a/test/wasm2js/unreachable-later.2asm.js
+++ b/test/wasm2js/unreachable-later.2asm.js
@@ -15,7 +15,7 @@ function asmFunc(imports) {
var global$0 = 10;
function $0($0_1) {
$0_1 = $0_1 | 0;
- var $15 = Math_fround(0), $21 = 0, $29 = 0, $26 = 0;
+ var $15 = Math_fround(0), $21 = 0, $29 = 0, $26 = 0, $32 = 0;
if (global$0) {
return $0_1 | 0
}