diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/badvartype.wasm | bin | 698 -> 0 bytes | |||
-rw-r--r-- | test/badvartype.wasm.fromBinary | 344 |
2 files changed, 0 insertions, 344 deletions
diff --git a/test/badvartype.wasm b/test/badvartype.wasm Binary files differdeleted file mode 100644 index 05637e5f6..000000000 --- a/test/badvartype.wasm +++ /dev/null diff --git a/test/badvartype.wasm.fromBinary b/test/badvartype.wasm.fromBinary deleted file mode 100644 index 6f96744a5..000000000 --- a/test/badvartype.wasm.fromBinary +++ /dev/null @@ -1,344 +0,0 @@ -(module - (type $0 (func (param i32) (result f32))) - (type $1 (func)) - (type $2 (func (param i64) (result f64))) - (type $3 (func (param f32 i32 i32 i64 i64 i32 i32) (result f64))) - (type $4 (func (param f32 f32) (result i64))) - (type $5 (func (result i64))) - (type $6 (func (param i32 i32))) - (type $7 (func (param f32) (result f32))) - (type $8 (func (param f64) (result f64))) - (memory $0 (shared 1 1)) - (data (i32.const 0) "\00\00\00\00\00\00\00\00X\00\00\00U\00\00\0b\00\00\00\00\00\00\00k\00\00") - (table $0 2 funcref) - (elem (i32.const 0) $1 $5) - (global $global$0 (mut i32) (i32.const 255)) - (global $global$1 (mut i32) (i32.const -7045592)) - (global $global$2 (mut i64) (i64.const -9223372036854775808)) - (global $global$3 (mut f32) (f32.const -268435456)) - (global $global$4 (mut f64) (f64.const -2251799813685248)) - (global $global$5 (mut i32) (i32.const 10)) - (export "func_0" (func $0)) - (export "func_2_invoker" (func $3)) - (export "hangLimitInitializer" (func $7)) - (func $0 (; 0 ;) (type $0) (param $0 i32) (result f32) - (block $label$1 - (if - (i32.eqz - (global.get $global$5) - ) - (return - (f32.const -nan:0x1d717c) - ) - ) - (global.set $global$5 - (i32.sub - (global.get $global$5) - (i32.const 1) - ) - ) - ) - (block $label$3 (result f32) - (nop) - (return - (f32.const 137438953472) - ) - ) - ) - (func $1 (; 1 ;) (type $2) (param $0 i64) (result f64) - (block $label$1 - (if - (i32.eqz - (global.get $global$5) - ) - (return - (f64.const 128) - ) - ) - (global.set $global$5 - (i32.sub - (global.get $global$5) - (i32.const 1) - ) - ) - ) - (block $label$3 (result f64) - (nop) - (return - (f64.const 1) - ) - ) - ) - (func $2 (; 2 ;) (type $3) (param $0 f32) (param $1 i32) (param $2 i32) (param $3 i64) (param $4 i64) (param $5 i32) (param $6 i32) (result f64) - (local $7 i32) - (local $8 i32) - (local $9 i64) - (local $10 f32) - (local $11 f32) - (local $12 f32) - (local $13 f64) - (local $14 f64) - (local $15 f64) - (block $label$1 - (if - (i32.eqz - (global.get $global$5) - ) - (return - (local.get $13) - ) - ) - (global.set $global$5 - (i32.sub - (global.get $global$5) - (i32.const 1) - ) - ) - ) - (f64.const 65489) - ) - (func $3 (; 3 ;) (type $1) - (drop - (call $2 - (f32.const 2199023255552) - (i32.const 50) - (i32.const 0) - (i64.const 32767) - (i64.const -65535) - (i32.const -2147483648) - (i32.const -84) - ) - ) - (drop - (f32.const 70368744177664) - ) - (drop - (i32.const -53) - ) - (drop - (i32.const -46) - ) - (drop - (i64.const -12216) - ) - (drop - (i64.const 0) - ) - (unreachable) - ) - (func $4 (; 4 ;) (type $4) (param $0 f32) (param $1 f32) (result i64) - (local $2 i32) - (local $3 i32) - (local $4 i32) - (local $5 i32) - (local $6 i32) - (local $7 i64) - (local $8 i64) - (local $9 f32) - (local $10 f32) - (local $11 f32) - (local $12 f64) - (block $label$1 - (if - (i32.eqz - (global.get $global$5) - ) - (return - (local.get $8) - ) - ) - (global.set $global$5 - (i32.sub - (global.get $global$5) - (i32.const 1) - ) - ) - ) - (unreachable) - ) - (func $5 (; 5 ;) (type $5) (result i64) - (local $0 i64) - (block $label$1 - (if - (i32.eqz - (global.get $global$5) - ) - (return - (block (result i64) - (local.set $0 - (i64.const 0) - ) - (nop) - (local.get $0) - ) - ) - ) - (global.set $global$5 - (i32.sub - (global.get $global$5) - (i32.const 1) - ) - ) - ) - (i64.const 3832563226) - ) - (func $6 (; 6 ;) (type $6) (param $0 i32) (param $1 i32) - (local $2 i64) - (block $label$1 - (if - (i32.eqz - (global.get $global$5) - ) - (return) - ) - (global.set $global$5 - (i32.sub - (global.get $global$5) - (i32.const 1) - ) - ) - ) - (block $label$3 - (br_if $label$3 - (local.get $1) - ) - (if - (i32.eqz - (local.get $1) - ) - (block $label$5 - (nop) - (br_if $label$3 - (local.tee $1 - (local.tee $1 - (local.tee $1 - (if (result i32) - (i32.eqz - (local.get $1) - ) - (block $label$7 (result i32) - (local.set $2 - (block $label$8 (result i64) - (loop $label$9 - (block $label$10 - (if - (i32.eqz - (global.get $global$5) - ) - (return) - ) - (global.set $global$5 - (i32.sub - (global.get $global$5) - (i32.const 1) - ) - ) - ) - (block $label$12 - (block $label$13 - (local.set $1 - (br_if $label$7 - (local.get $0) - (i32.eqz - (local.get $1) - ) - ) - ) - (if - (i32.eqz - (local.get $1) - ) - (br_if $label$5 - (i32.eqz - (br_if $label$7 - (i32.const -125) - (loop $label$15 (result i32) - (block $label$16 - (if - (i32.eqz - (global.get $global$5) - ) - (return) - ) - (global.set $global$5 - (i32.sub - (global.get $global$5) - (i32.const 1) - ) - ) - ) - (block $label$18 (result i32) - (nop) - (br_if $label$15 - (i32.eqz - (local.tee $1 - (i32.const 32767) - ) - ) - ) - (i32.const -2147483648) - ) - ) - ) - ) - ) - (block - (drop - (i64.add - (local.get $2) - (local.get $2) - ) - ) - (nop) - ) - ) - ) - (br_if $label$9 - (local.get $1) - ) - (nop) - ) - ) - (local.get $2) - ) - ) - (local.get $1) - ) - (i32.const -7059178) - ) - ) - ) - ) - ) - ) - (nop) - ) - ) - ) - (func $7 (; 7 ;) (type $1) - (global.set $global$5 - (i32.const 10) - ) - ) - (func $8 (; 8 ;) (type $7) (param $0 f32) (result f32) - (if (result f32) - (f32.eq - (local.get $0) - (local.get $0) - ) - (local.get $0) - (f32.const 0) - ) - ) - (func $9 (; 9 ;) (type $8) (param $0 f64) (result f64) - (if (result f64) - (f64.eq - (local.get $0) - (local.get $0) - ) - (local.get $0) - (f64.const 0) - ) - ) -) - |