diff options
Diffstat (limited to 'test/unit.wast.fromBinary')
-rw-r--r-- | test/unit.wast.fromBinary | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/test/unit.wast.fromBinary b/test/unit.wast.fromBinary index f4e9f88b9..6a902f38c 100644 --- a/test/unit.wast.fromBinary +++ b/test/unit.wast.fromBinary @@ -17,7 +17,7 @@ (memory $0 4096 4096) (data (i32.const 1026) "\14\00") (export "big_negative" (func $big_negative)) - (func $big_negative (type $1) + (func $big_negative (; 3 ;) (type $1) (local $var$0 f64) (set_local $var$0 (f64.const -2147483648) @@ -35,7 +35,7 @@ (f64.const -0.039625) ) ) - (func $importedDoubles (type $4) (result f64) + (func $importedDoubles (; 4 ;) (type $4) (result f64) (local $var$0 f64) (block $label$1 (result f64) (set_local $var$0 @@ -87,7 +87,7 @@ (f64.const 1.2) ) ) - (func $doubleCompares (type $3) (param $var$0 f64) (param $var$1 f64) (result f64) + (func $doubleCompares (; 5 ;) (type $3) (param $var$0 f64) (param $var$1 f64) (result f64) (local $var$2 i32) (local $var$3 f64) (local $var$4 f64) @@ -131,14 +131,14 @@ (get_local $var$1) ) ) - (func $intOps (type $5) (result i32) + (func $intOps (; 6 ;) (type $5) (result i32) (local $var$0 i32) (i32.eq (get_local $var$0) (i32.const 0) ) ) - (func $hexLiterals (type $1) + (func $hexLiterals (; 7 ;) (type $1) (drop (i32.add (i32.add @@ -149,7 +149,7 @@ ) ) ) - (func $conversions (type $1) + (func $conversions (; 8 ;) (type $1) (local $var$0 i32) (local $var$1 f64) (set_local $var$0 @@ -171,7 +171,7 @@ ) ) ) - (func $seq (type $1) + (func $seq (; 9 ;) (type $1) (local $var$0 f64) (set_local $var$0 (f64.sub @@ -190,7 +190,7 @@ ) ) ) - (func $switcher (type $6) (param $var$0 i32) (result i32) + (func $switcher (; 10 ;) (type $6) (param $var$0 i32) (result i32) (block $label$1 (result i32) (block $label$2 (block $label$3 @@ -268,18 +268,18 @@ (i32.const 0) ) ) - (func $blocker (type $1) + (func $blocker (; 11 ;) (type $1) (block $label$1 (br $label$1) ) ) - (func $frem (type $4) (result f64) + (func $frem (; 12 ;) (type $4) (result f64) (call $import$2 (f64.const 5.5) (f64.const 1.2) ) ) - (func $big_uint_div_u (type $5) (result i32) + (func $big_uint_div_u (; 13 ;) (type $5) (result i32) (local $var$0 i32) (set_local $var$0 (i32.and @@ -292,7 +292,7 @@ ) (get_local $var$0) ) - (func $fr (type $0) (param $var$0 f32) + (func $fr (; 14 ;) (type $0) (param $var$0 f32) (local $var$1 f32) (local $var$2 f64) (drop @@ -316,10 +316,10 @@ (f32.const 0) ) ) - (func $negZero (type $4) (result f64) + (func $negZero (; 15 ;) (type $4) (result f64) (f64.const -0) ) - (func $abs (type $1) + (func $abs (; 16 ;) (type $1) (local $var$0 i32) (local $var$1 i32) (local $var$2 f32) @@ -353,7 +353,7 @@ ) ) ) - (func $neg (type $1) + (func $neg (; 17 ;) (type $1) (local $var$0 f32) (set_local $var$0 (f32.neg @@ -371,7 +371,7 @@ ) ) ) - (func $cneg (type $0) (param $var$0 f32) + (func $cneg (; 18 ;) (type $0) (param $var$0 f32) (call_indirect $0 (get_local $var$0) (i32.add @@ -383,7 +383,7 @@ ) ) ) - (func $___syscall_ret (type $1) + (func $___syscall_ret (; 19 ;) (type $1) (local $var$0 i32) (drop (i32.gt_u @@ -395,13 +395,13 @@ ) ) ) - (func $z (type $1) + (func $z (; 20 ;) (type $1) (nop) ) - (func $w (type $1) + (func $w (; 21 ;) (type $1) (nop) ) - (func $block_and_after (type $5) (result i32) + (func $block_and_after (; 22 ;) (type $5) (result i32) (block $label$1 (drop (i32.const 1) @@ -410,7 +410,7 @@ ) (i32.const 0) ) - (func $loop-roundtrip (type $7) (param $var$0 f64) (result f64) + (func $loop-roundtrip (; 23 ;) (type $7) (param $var$0 f64) (result f64) (loop $label$1 (result f64) (drop (get_local $var$0) @@ -418,21 +418,21 @@ (get_local $var$0) ) ) - (func $big-i64 (type $8) (result i64) + (func $big-i64 (; 24 ;) (type $8) (result i64) (i64.const -9218868437227405313) ) - (func $i64-store32 (type $9) (param $var$0 i32) (param $var$1 i64) + (func $i64-store32 (; 25 ;) (type $9) (param $var$0 i32) (param $var$1 i64) (i64.store32 (get_local $var$0) (get_local $var$1) ) ) - (func $return-unreachable (type $5) (result i32) + (func $return-unreachable (; 26 ;) (type $5) (result i32) (return (i32.const 1) ) ) - (func $unreachable-block (type $5) (result i32) + (func $unreachable-block (; 27 ;) (type $5) (result i32) (block $label$1 (drop (i32.const 1) @@ -442,7 +442,7 @@ ) ) ) - (func $unreachable-block-toplevel (type $5) (result i32) + (func $unreachable-block-toplevel (; 28 ;) (type $5) (result i32) (drop (i32.const 1) ) @@ -450,19 +450,19 @@ (i32.const 2) ) ) - (func $unreachable-block0 (type $5) (result i32) + (func $unreachable-block0 (; 29 ;) (type $5) (result i32) (block $label$1 (return (i32.const 2) ) ) ) - (func $unreachable-block0-toplevel (type $5) (result i32) + (func $unreachable-block0-toplevel (; 30 ;) (type $5) (result i32) (return (i32.const 2) ) ) - (func $unreachable-block-with-br (type $5) (result i32) + (func $unreachable-block-with-br (; 31 ;) (type $5) (result i32) (block $label$1 (drop (i32.const 1) @@ -471,7 +471,7 @@ ) (i32.const 1) ) - (func $unreachable-if (type $5) (result i32) + (func $unreachable-if (; 32 ;) (type $5) (result i32) (if (i32.const 3) (return @@ -482,7 +482,7 @@ ) ) ) - (func $unreachable-if-toplevel (type $5) (result i32) + (func $unreachable-if-toplevel (; 33 ;) (type $5) (result i32) (if (i32.const 3) (return @@ -493,7 +493,7 @@ ) ) ) - (func $unreachable-loop (type $5) (result i32) + (func $unreachable-loop (; 34 ;) (type $5) (result i32) (loop $label$1 (nop) (return @@ -501,14 +501,14 @@ ) ) ) - (func $unreachable-loop0 (type $5) (result i32) + (func $unreachable-loop0 (; 35 ;) (type $5) (result i32) (loop $label$1 (return (i32.const 1) ) ) ) - (func $unreachable-loop-toplevel (type $5) (result i32) + (func $unreachable-loop-toplevel (; 36 ;) (type $5) (result i32) (loop $label$1 (nop) (return @@ -516,17 +516,17 @@ ) ) ) - (func $unreachable-loop0-toplevel (type $5) (result i32) + (func $unreachable-loop0-toplevel (; 37 ;) (type $5) (result i32) (loop $label$1 (return (i32.const 1) ) ) ) - (func $unreachable-ifs (type $1) + (func $unreachable-ifs (; 38 ;) (type $1) (unreachable) ) - (func $unreachable-if-arm (type $1) + (func $unreachable-if-arm (; 39 ;) (type $1) (if (i32.const 1) (nop) |