diff options
Diffstat (limited to 'test/unit.fromasm.no-opts')
-rw-r--r-- | test/unit.fromasm.no-opts | 678 |
1 files changed, 339 insertions, 339 deletions
diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts index 4ec9844f6..561062f04 100644 --- a/test/unit.fromasm.no-opts +++ b/test/unit.fromasm.no-opts @@ -9,8 +9,8 @@ (type $FUNCSIG$dd (func (param f64) (result f64))) (type $FUNCSIG$i (func (result i32))) (import "env" "memory" (memory $memory 256 256)) - (import "env" "table" (table $table 25 25 anyfunc)) - (elem (get_global $__table_base) $v $big_negative $v $v $w $w $importedDoubles $w $z $cneg $z $z $z $z $z $z $vi $vi $vi $vi $vi $vi $vi $vi $ii) + (import "env" "table" (table $table 25 25 funcref)) + (elem (global.get $__table_base) $v $big_negative $v $v $w $w $importedDoubles $w $z $cneg $z $z $z $z $z $z $vi $vi $vi $vi $vi $vi $vi $vi $ii) (import "env" "__memory_base" (global $__memory_base i32)) (import "env" "__table_base" (global $__table_base i32)) (import "global" "NaN" (global $t$asm2wasm$import f64)) @@ -26,13 +26,13 @@ (import "env" "emscripten_log" (func $emscripten_log)) (import "asm2wasm" "f64-to-int" (func $f64-to-int (param f64) (result i32))) (import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64))) - (global $t (mut f64) (get_global $t$asm2wasm$import)) - (global $u (mut f64) (get_global $u$asm2wasm$import)) + (global $t (mut f64) (global.get $t$asm2wasm$import)) + (global $u (mut f64) (global.get $u$asm2wasm$import)) (global $Int (mut i32) (i32.const 0)) (global $Double (mut f64) (f64.const 0)) - (global $tempDoublePtr (mut i32) (get_global $tempDoublePtr$asm2wasm$import)) - (global $n (mut i32) (get_global $n$asm2wasm$import)) - (global $STACKTOP (mut i32) (get_global $STACKTOP$asm2wasm$import)) + (global $tempDoublePtr (mut i32) (global.get $tempDoublePtr$asm2wasm$import)) + (global $n (mut i32) (global.get $n$asm2wasm$import)) + (global $STACKTOP (mut i32) (global.get $STACKTOP$asm2wasm$import)) (global $exportedNumber i32 (i32.const 42)) (export "big_negative" (func $big_negative)) (export "pick" (func $exportMe)) @@ -86,43 +86,43 @@ (export "keepAlive" (func $keepAlive)) (func $big_negative (; 8 ;) (local $temp f64) - (set_local $temp + (local.set $temp (f64.const -2147483648) ) - (set_local $temp + (local.set $temp (f64.const -2147483648) ) - (set_local $temp + (local.set $temp (f64.const -21474836480) ) - (set_local $temp + (local.set $temp (f64.const 0.039625) ) - (set_local $temp + (local.set $temp (f64.const -0.039625) ) ) (func $importedDoubles (; 9 ;) (result f64) (local $temp f64) - (set_local $temp + (local.set $temp (f64.add (f64.add (f64.add - (get_global $t) - (get_global $u) + (global.get $t) + (global.get $u) ) (f64.neg - (get_global $u) + (global.get $u) ) ) (f64.neg - (get_global $t) + (global.get $t) ) ) ) (if (i32.gt_s - (get_global $Int) + (global.get $Int) (i32.const 0) ) (return @@ -131,7 +131,7 @@ ) (if (f64.gt - (get_global $Double) + (global.get $Double) (f64.const 0) ) (return @@ -148,22 +148,22 @@ (local $Double i32) (if (f64.gt - (get_local $x) + (local.get $x) (f64.const 0) ) (return (f64.const 1.2) ) ) - (set_local $Int - (get_local $x) + (local.set $Int + (local.get $x) ) - (set_local $Double - (get_global $n) + (local.set $Double + (global.get $n) ) (if (f64.gt - (get_local $Int) + (local.get $Int) (f64.const 0) ) (return @@ -172,7 +172,7 @@ ) (if (i32.gt_s - (get_local $Double) + (local.get $Double) (i32.const 0) ) (return @@ -181,27 +181,27 @@ ) (if (f64.lt - (get_local $x) - (get_local $y) + (local.get $x) + (local.get $y) ) (return - (get_local $x) + (local.get $x) ) ) (return - (get_local $y) + (local.get $y) ) ) (func $intOps (; 11 ;) (param $x i32) (result i32) (return (i32.eqz - (get_local $x) + (local.get $x) ) ) ) (func $hexLiterals (; 12 ;) (local $i i32) - (set_local $i + (local.set $i (i32.add (i32.add (i32.const 0) @@ -212,32 +212,32 @@ ) ) (func $conversions (; 13 ;) (param $i i32) (param $d f64) (param $f f32) - (set_local $i + (local.set $i (call $f64-to-int - (get_local $d) + (local.get $d) ) ) - (set_local $i + (local.set $i (call $f64-to-int - (f64.promote/f32 - (get_local $f) + (f64.promote_f32 + (local.get $f) ) ) ) - (set_local $d - (f64.convert_s/i32 - (get_local $i) + (local.set $d + (f64.convert_i32_s + (local.get $i) ) ) - (set_local $d - (f64.convert_u/i32 - (get_local $i) + (local.set $d + (f64.convert_i32_u + (local.get $i) ) ) ) (func $seq (; 14 ;) (local $J f64) - (set_local $J + (local.set $J (f64.sub (block (result f64) (drop @@ -261,7 +261,7 @@ (block $switch-case (br_table $switch-case $switch-case0 $switch (i32.sub - (get_local $x) + (local.get $x) (i32.const 1) ) ) @@ -279,7 +279,7 @@ (block $switch-case2 (br_table $switch-case3 $switch1 $switch1 $switch1 $switch1 $switch1 $switch1 $switch-case2 $switch1 (i32.sub - (get_local $x) + (local.get $x) (i32.const 5) ) ) @@ -299,7 +299,7 @@ (block $switch-case4 (br_table $switch-case9 $label$break$Lout $label$break$Lout $switch-case6 $label$break$Lout $label$break$Lout $label$break$Lout $label$break$Lout $switch-case5 $label$break$Lout $switch-case4 $label$break$Lout (i32.sub - (get_local $x) + (local.get $x) (i32.const 2) ) ) @@ -339,7 +339,7 @@ (block $switch-case11 (br_table $switch-case11 $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-default $switch-case13 $switch-default $switch-default $switch-default $switch-default $switch-default $switch-case12 $switch-default (i32.sub - (get_local $x) + (local.get $x) (i32.const -1) ) ) @@ -350,7 +350,7 @@ ) ) (block - (set_local $waka + (local.set $waka (i32.const 1) ) (br $switch10) @@ -391,12 +391,12 @@ ) (func $frem_float (; 18 ;) (result f32) (return - (f32.demote/f64 + (f32.demote_f64 (call $f64-rem - (f64.promote/f32 + (f64.promote_f32 (f32.const 5.5) ) - (f64.promote/f32 + (f64.promote_f32 (f32.const 1.2000000476837158) ) ) @@ -406,18 +406,18 @@ (func $i32u-div (; 19 ;) (param $0 i32) (param $1 i32) (result i32) (if (result i32) (i32.eqz - (get_local $1) + (local.get $1) ) (i32.const 0) (i32.div_u - (get_local $0) - (get_local $1) + (local.get $0) + (local.get $1) ) ) ) (func $big_uint_div_u (; 20 ;) (result i32) (local $x i32) - (set_local $x + (local.set $x (i32.and (call $i32u-div (i32.const -1) @@ -427,56 +427,56 @@ ) ) (return - (get_local $x) + (local.get $x) ) ) (func $i32s-div (; 21 ;) (param $0 i32) (param $1 i32) (result i32) (if (result i32) (i32.eqz - (get_local $1) + (local.get $1) ) (i32.const 0) (if (result i32) (i32.and (i32.eq - (get_local $0) + (local.get $0) (i32.const -2147483648) ) (i32.eq - (get_local $1) + (local.get $1) (i32.const -1) ) ) (i32.const 0) (i32.div_s - (get_local $0) - (get_local $1) + (local.get $0) + (local.get $1) ) ) ) ) (func $trapping_sint_div_s (; 22 ;) (result i32) (local $x i32) - (set_local $x + (local.set $x (call $i32s-div (i32.const -2147483648) (i32.const -1) ) ) (return - (get_local $x) + (local.get $x) ) ) (func $fr (; 23 ;) (param $x f32) (local $y f32) (local $z f64) (drop - (f32.demote/f64 - (get_local $z) + (f32.demote_f64 + (local.get $z) ) ) (drop - (get_local $y) + (local.get $y) ) (drop (f32.const 5) @@ -501,30 +501,30 @@ (local $y f64) (local $z f32) (local $asm2wasm_i32_temp i32) - (set_local $x + (local.set $x (block (result i32) - (set_local $asm2wasm_i32_temp + (local.set $asm2wasm_i32_temp (i32.const 0) ) (select (i32.sub (i32.const 0) - (get_local $asm2wasm_i32_temp) + (local.get $asm2wasm_i32_temp) ) - (get_local $asm2wasm_i32_temp) + (local.get $asm2wasm_i32_temp) (i32.lt_s - (get_local $asm2wasm_i32_temp) + (local.get $asm2wasm_i32_temp) (i32.const 0) ) ) ) ) - (set_local $y + (local.set $y (f64.abs (f64.const 0) ) ) - (set_local $z + (local.set $z (f32.abs (f32.const 0) ) @@ -535,40 +535,40 @@ (local $y f64) (local $z f32) (local $w f32) - (set_local $x + (local.set $x (f64.min - (get_local $x) - (get_local $y) + (local.get $x) + (local.get $y) ) ) - (set_local $y + (local.set $y (f64.max - (get_local $x) - (get_local $y) + (local.get $x) + (local.get $y) ) ) - (set_local $z + (local.set $z (f32.min - (get_local $z) - (get_local $w) + (local.get $z) + (local.get $w) ) ) - (set_local $w + (local.set $w (f32.max - (get_local $z) - (get_local $w) + (local.get $z) + (local.get $w) ) ) ) (func $neg (; 27 ;) (local $x f32) - (set_local $x + (local.set $x (f32.neg - (get_local $x) + (local.get $x) ) ) (call_indirect (type $FUNCSIG$vf) - (get_local $x) + (local.get $x) (i32.add (i32.and (i32.const 1) @@ -580,7 +580,7 @@ ) (func $cneg (; 28 ;) (param $x f32) (call_indirect (type $FUNCSIG$vf) - (get_local $x) + (local.get $x) (i32.add (i32.and (i32.const 1) @@ -594,7 +594,7 @@ (local $$0 i32) (drop (i32.gt_u - (get_local $$0) + (local.get $$0) (i32.const -4096) ) ) @@ -602,30 +602,30 @@ (func $smallCompare (; 30 ;) (param $i i32) (param $j i32) (result i32) (if (i32.lt_s - (get_local $i) - (get_local $j) + (local.get $i) + (local.get $j) ) - (set_local $i + (local.set $i (i32.add - (get_local $i) + (local.get $i) (i32.const 1) ) ) ) (if (i32.lt_u - (get_local $i) - (get_local $j) + (local.get $i) + (local.get $j) ) - (set_local $i + (local.set $i (i32.add - (get_local $i) + (local.get $i) (i32.const 1) ) ) ) (return - (get_local $i) + (local.get $i) ) ) (func $cneg_nosemicolon (; 31 ;) @@ -642,7 +642,7 @@ ) (func $forLoop (; 32 ;) (local $i i32) - (set_local $i + (local.set $i (i32.const 1) ) (loop $for-in @@ -650,18 +650,18 @@ (if (i32.eqz (i32.lt_s - (get_local $i) + (local.get $i) (i32.const 200) ) ) (br $for-out) ) (call $h - (get_local $i) + (local.get $i) ) - (set_local $i + (local.set $i (i32.add - (get_local $i) + (local.get $i) (i32.const 1) ) ) @@ -671,19 +671,19 @@ ) (func $ceiling_32_64 (; 33 ;) (param $u f32) (param $B f64) (local $temp f32) - (set_local $temp - (f32.demote/f64 + (local.set $temp + (f32.demote_f64 (f64.ceil - (get_local $B) + (local.get $B) ) ) ) - (set_local $temp + (local.set $temp (f32.mul - (get_local $u) + (local.get $u) (f32.ceil - (f32.demote/f64 - (get_local $B) + (f32.demote_f64 + (local.get $B) ) ) ) @@ -697,7 +697,7 @@ ) (drop (call $abort - (f64.convert_s/i32 + (f64.convert_i32_s (i32.const 55) ) ) @@ -714,7 +714,7 @@ ) (drop (call $abort - (f64.promote/f32 + (f64.promote_f32 (f32.const 56.779998779296875) ) ) @@ -747,26 +747,26 @@ (func $bitcasts (; 36 ;) (param $i i32) (param $f f32) (local $d f64) (drop - (f32.reinterpret/i32 - (get_local $i) + (f32.reinterpret_i32 + (local.get $i) ) ) (drop - (f64.promote/f32 - (f32.reinterpret/i32 - (get_local $i) + (f64.promote_f32 + (f32.reinterpret_i32 + (local.get $i) ) ) ) (drop - (i32.reinterpret/f32 - (get_local $f) + (i32.reinterpret_f32 + (local.get $f) ) ) (drop - (i32.reinterpret/f32 - (f32.demote/f64 - (get_local $d) + (i32.reinterpret_f32 + (f32.demote_f64 + (local.get $d) ) ) ) @@ -781,7 +781,7 @@ (drop (i32.const 1) ) - (get_local $x) + (local.get $x) ) (block (result i32) (drop @@ -831,7 +831,7 @@ ) ) ) - (set_local $x + (local.set $x (i32.add (i32.add (i32.add @@ -841,7 +841,7 @@ (i32.const 1) ) ) - (get_local $x) + (local.get $x) ) (block (result i32) (drop @@ -913,15 +913,15 @@ ) ) (return - (get_local $x) + (local.get $x) ) ) (func $lb (; 38 ;) (param $a i32) (result i32) (i32.store - (get_local $a) + (local.get $a) (i32.add (i32.add - (get_global $n) + (global.get $n) (i32.const 136) ) (i32.const 8) @@ -951,17 +951,17 @@ (call $lb (i32.const 1) ) - (set_local $y + (local.set $y (i32.const 3) ) ) - (set_local $y + (local.set $y (i32.const 3) ) ) (if (i32.eq - (get_local $y) + (local.get $y) (i32.const 3) ) (drop @@ -980,19 +980,19 @@ (i32.const 1) ) (block - (set_local $x + (local.set $x (i32.const 0) ) (br $do-once) ) ) - (set_local $x + (local.set $x (i32.const 1) ) ) ) (return - (get_local $x) + (local.get $x) ) ) (func $smallIf (; 43 ;) @@ -1034,23 +1034,23 @@ ) (func $useSetGlobal (; 45 ;) (result i32) (local $x i32) - (set_local $x + (local.set $x (block (result i32) - (set_global $Int + (global.set $Int (i32.const 10) ) - (get_global $Int) + (global.get $Int) ) ) - (set_global $Int + (global.set $Int (i32.const 20) ) (return (block (result i32) - (set_global $Int + (global.set $Int (i32.const 30) ) - (get_global $Int) + (global.get $Int) ) ) ) @@ -1058,11 +1058,11 @@ (return (block (result i32) (block - (set_global $Int + (global.set $Int (i32.const 40) ) (drop - (get_global $Int) + (global.get $Int) ) ) (i32.const 50) @@ -1072,12 +1072,12 @@ (func $breakThroughMany (; 47 ;) (param $$s i32) (block $label$break$L1 (if - (get_local $$s) + (local.get $$s) (loop $while-in (block $while-out (if (i32.eqz - (get_local $$s) + (local.get $$s) ) (br $label$break$L1) ) @@ -1097,7 +1097,7 @@ (func $ifChainEmpty (; 48 ;) (param $label i32) (result i32) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 4) ) (return @@ -1105,7 +1105,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 7) ) (nop) @@ -1118,19 +1118,19 @@ (func $heap8NoShift (; 49 ;) (param $x i32) (result i32) (return (i32.load8_s - (get_local $x) + (local.get $x) ) ) ) (func $conditionalTypeFun (; 50 ;) (local $x i32) (local $y f64) - (set_local $x + (local.set $x (if (result i32) (call $return_int) (call $f64-to-int (call $abort - (f64.convert_s/i32 + (f64.convert_i32_s (i32.const 5) ) ) @@ -1138,11 +1138,11 @@ (i32.const 2) ) ) - (set_local $y + (local.set $y (if (result f64) (call $return_int) (call $abort - (f64.convert_s/i32 + (f64.convert_i32_s (i32.const 7) ) ) @@ -1155,7 +1155,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (get_local $x) + (local.get $x) ) (i32.const 24) ) @@ -1166,7 +1166,7 @@ (i32.shr_s (i32.shl (i32.load8_u - (get_local $x) + (local.get $x) ) (i32.const 24) ) @@ -1177,7 +1177,7 @@ (i32.shr_s (i32.shl (i32.load16_s - (get_local $x) + (local.get $x) ) (i32.const 16) ) @@ -1188,7 +1188,7 @@ (i32.shr_s (i32.shl (i32.load16_u - (get_local $x) + (local.get $x) ) (i32.const 16) ) @@ -1199,7 +1199,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (get_local $x) + (local.get $x) ) (i32.const 24) ) @@ -1210,7 +1210,7 @@ (i32.shr_s (i32.shl (i32.load8_u - (get_local $x) + (local.get $x) ) (i32.const 16) ) @@ -1221,7 +1221,7 @@ (i32.shr_s (i32.shl (i32.load16_s - (get_local $x) + (local.get $x) ) (i32.const 16) ) @@ -1232,7 +1232,7 @@ (i32.shr_s (i32.shl (i32.load16_u - (get_local $x) + (local.get $x) ) (i32.const 24) ) @@ -1251,11 +1251,11 @@ (func $globalOpts (; 54 ;) (local $x i32) (local $y f64) - (set_local $x - (get_global $Int) + (local.set $x + (global.get $Int) ) - (set_local $y - (get_global $Double) + (local.set $y + (global.get $Double) ) (i32.store8 (i32.const 13) @@ -1263,32 +1263,32 @@ (i32.const 12) ) ) - (set_global $Double - (get_local $y) + (global.set $Double + (local.get $y) ) - (set_global $Int - (get_local $x) + (global.set $Int + (local.get $x) ) (call $globalOpts) - (set_local $x - (get_global $Int) + (local.set $x + (global.get $Int) ) (if (call $return_int) - (set_global $Int + (global.set $Int (i32.const 20) ) ) - (set_global $Int - (get_local $x) + (global.set $Int + (local.get $x) ) (call $globalOpts) - (set_local $x - (get_global $Int) + (local.set $x + (global.get $Int) ) (call $globalOpts) - (set_global $Int - (get_local $x) + (global.set $Int + (local.get $x) ) ) (func $dropCallImport (; 55 ;) @@ -1303,38 +1303,38 @@ (local $temp i32) (local $inc i32) (local $loopvar i32) - (set_local $loopvar - (get_local $x) + (local.set $loopvar + (local.get $x) ) (loop $while-in (block $while-out (call $loophi - (get_local $loopvar) + (local.get $loopvar) (i32.const 0) ) - (set_local $temp - (get_local $loopvar) + (local.set $temp + (local.get $loopvar) ) (if - (get_local $temp) + (local.get $temp) (if - (get_local $temp) + (local.get $temp) (br $while-out) ) ) - (set_local $inc + (local.set $inc (i32.add - (get_local $loopvar) + (local.get $loopvar) (i32.const 1) ) ) (if (i32.eq - (get_local $inc) - (get_local $y) + (local.get $inc) + (local.get $y) ) - (set_local $loopvar - (get_local $inc) + (local.set $loopvar + (local.get $inc) ) (br $while-out) ) @@ -1348,41 +1348,41 @@ (local $i$lcssa i32) (local $temp i32) (local $j i32) - (set_local $i + (local.set $i (i32.const 0) ) (loop $label$continue$L7 (block $label$break$L7 - (set_local $j + (local.set $j (i32.const 0) ) (loop $while-in (block $while-out - (set_local $temp - (get_local $j) + (local.set $temp + (local.get $j) ) (if (call $return_int) (if - (get_local $temp) + (local.get $temp) (block - (set_local $i$lcssa - (get_local $i) + (local.set $i$lcssa + (local.get $i) ) (br $label$break$L7) ) ) ) - (set_local $jnc + (local.set $jnc (i32.add - (get_local $j) + (local.get $j) (i32.const 1) ) ) (if - (get_local $jnc) - (set_local $j - (get_local $jnc) + (local.get $jnc) + (local.set $j + (local.get $jnc) ) (br $while-out) ) @@ -1393,7 +1393,7 @@ ) ) (return - (get_local $i$lcssa) + (local.get $i$lcssa) ) ) (func $loophi2b (; 58 ;) (result i32) @@ -1402,41 +1402,41 @@ (local $i$lcssa i32) (local $temp i32) (local $j i32) - (set_local $i + (local.set $i (i32.const 0) ) (loop $label$continue$L7 (block $label$break$L7 - (set_local $j + (local.set $j (i32.const 0) ) (loop $while-in (block $while-out - (set_local $temp - (get_local $j) + (local.set $temp + (local.get $j) ) (if (call $return_int) (if - (get_local $temp) + (local.get $temp) (block - (set_local $i$lcssa - (get_local $j) + (local.set $i$lcssa + (local.get $j) ) (br $label$break$L7) ) ) ) - (set_local $jnc + (local.set $jnc (i32.add - (get_local $j) + (local.get $j) (i32.const 1) ) ) (if - (get_local $jnc) - (set_local $j - (get_local $jnc) + (local.get $jnc) + (local.set $j + (local.get $jnc) ) (br $while-out) ) @@ -1447,25 +1447,25 @@ ) ) (return - (get_local $i$lcssa) + (local.get $i$lcssa) ) ) (func $relooperJumpThreading (; 59 ;) (param $x i32) (result i32) (local $label i32) (if - (get_local $x) + (local.get $x) (block (call $h (i32.const 0) ) - (set_local $label + (local.set $label (i32.const 1) ) ) ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 1) ) (call $h @@ -1477,19 +1477,19 @@ ) (loop $while-in (block $while-out - (set_local $x + (local.set $x (i32.add - (get_local $x) + (local.get $x) (i32.const 1) ) ) (if - (get_local $x) + (local.get $x) (block (call $h (i32.const 2) ) - (set_local $label + (local.set $label (i32.const 2) ) (br $while-out) @@ -1500,7 +1500,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 2) ) (call $h @@ -1511,20 +1511,20 @@ (i32.const -2) ) (if - (get_local $x) + (local.get $x) (block (call $h (i32.const 4) ) (if (i32.eq - (get_local $x) + (local.get $x) (i32.const 3) ) - (set_local $label + (local.set $label (i32.const 3) ) - (set_local $label + (local.set $label (i32.const 4) ) ) @@ -1532,7 +1532,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 3) ) (call $h @@ -1540,7 +1540,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 4) ) (call $h @@ -1552,20 +1552,20 @@ (i32.const -3) ) (if - (get_local $x) + (local.get $x) (block (call $h (i32.const 7) ) (if (i32.eq - (get_local $x) + (local.get $x) (i32.const 5) ) - (set_local $label + (local.set $label (i32.const 5) ) - (set_local $label + (local.set $label (i32.const 6) ) ) @@ -1573,7 +1573,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 5) ) (block @@ -1582,10 +1582,10 @@ ) (if (i32.eq - (get_local $x) + (local.get $x) (i32.const 6) ) - (set_local $label + (local.set $label (i32.const 6) ) ) @@ -1593,7 +1593,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 6) ) (call $h @@ -1604,12 +1604,12 @@ (i32.const -4) ) (if - (get_local $x) + (local.get $x) (block (call $h (i32.const 10) ) - (set_local $label + (local.set $label (i32.const 7) ) ) @@ -1617,7 +1617,7 @@ (block $label$break$L1 (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 7) ) (block @@ -1632,20 +1632,20 @@ (i32.const -5) ) (if - (get_local $x) + (local.get $x) (block (call $h (i32.const 12) ) (if (i32.eq - (get_local $x) + (local.get $x) (i32.const 8) ) - (set_local $label + (local.set $label (i32.const 8) ) - (set_local $label + (local.set $label (i32.const 9) ) ) @@ -1653,7 +1653,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 8) ) (block @@ -1661,8 +1661,8 @@ (i32.const 13) ) (if - (get_local $x) - (set_local $label + (local.get $x) + (local.set $label (i32.const 9) ) ) @@ -1671,7 +1671,7 @@ (block $label$break$L10 (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 9) ) (block @@ -1686,7 +1686,7 @@ (i32.const -6) ) (return - (get_local $x) + (local.get $x) ) ) (func $relooperJumpThreading__ZN4game14preloadweaponsEv (; 60 ;) (param $$12 i32) (param $$14 i32) (param $$or$cond8 i32) (param $$or$cond6 i32) (param $$vararg_ptr5 i32) (param $$11 i32) (param $$exitcond i32) @@ -1694,46 +1694,46 @@ (loop $while-in (block $while-out (if - (get_local $$14) + (local.get $$14) (if - (get_local $$or$cond8) - (set_local $label + (local.get $$or$cond8) + (local.set $label (i32.const 7) ) - (set_local $label + (local.set $label (i32.const 8) ) ) (if - (get_local $$or$cond6) - (set_local $label + (local.get $$or$cond6) + (local.set $label (i32.const 7) ) - (set_local $label + (local.set $label (i32.const 8) ) ) ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 7) ) - (set_local $label + (local.set $label (i32.const 0) ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 8) ) (block - (set_local $label + (local.set $label (i32.const 0) ) (i32.store - (get_local $$vararg_ptr5) - (get_local $$11) + (local.get $$vararg_ptr5) + (local.get $$11) ) ) ) @@ -1746,19 +1746,19 @@ (local $label i32) (if (i32.eq - (get_local $x) + (local.get $x) (i32.const 100) ) - (set_local $label + (local.set $label (i32.const 1) ) - (set_local $label + (local.set $label (i32.const 10) ) ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 1) ) (loop $while-in @@ -1766,7 +1766,7 @@ (call $relooperJumpThreading_irreducible (i32.const 1337) ) - (set_local $label + (local.set $label (i32.const 1) ) (br $while-in) @@ -1775,28 +1775,28 @@ ) (if (i32.eq - (get_local $x) + (local.get $x) (i32.const 200) ) - (set_local $label + (local.set $label (i32.const 2) ) - (set_local $label + (local.set $label (i32.const 10) ) ) (if (i32.eq - (get_local $x) + (local.get $x) (i32.const 300) ) - (set_local $label + (local.set $label (i32.const 2) ) ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 2) ) (call $relooperJumpThreading_irreducible @@ -1805,7 +1805,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 10) ) (call $relooperJumpThreading_irreducible @@ -1817,17 +1817,17 @@ (local $$12 i32) (local $$20 i32) (if - (get_local $$2) + (local.get $$2) (loop $while-in (block $while-out - (set_local $$12 - (get_local $$$06$i4) + (local.set $$12 + (local.get $$$06$i4) ) (if - (get_local $$exitcond$i6) + (local.get $$exitcond$i6) (br $while-out) - (set_local $$$06$i4 - (get_local $$20) + (local.set $$$06$i4 + (local.get $$20) ) ) (br $while-in) @@ -1843,12 +1843,12 @@ (func $jumpThreadDrop (; 63 ;) (result i32) (local $label i32) (local $temp i32) - (set_local $temp + (local.set $temp (call $return_int) ) (loop $while-in (block $while-out - (set_local $label + (local.set $label (i32.const 14) ) (br $while-out) @@ -1857,13 +1857,13 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 10) ) (nop) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 12) ) (drop @@ -1871,7 +1871,7 @@ ) (if (i32.eq - (get_local $label) + (local.get $label) (i32.const 14) ) (nop) @@ -1879,20 +1879,20 @@ ) ) (return - (get_local $temp) + (local.get $temp) ) ) (func $dropIgnoredImportInIf (; 64 ;) (param $$0 i32) (param $$1 i32) (param $$2 i32) (block $do-once (if - (get_local $$0) + (local.get $$0) (block - (set_local $$0 + (local.set $$0 (i32.const 1) ) (drop (call $lb - (get_local $$2) + (local.get $$2) ) ) ) @@ -1910,15 +1910,15 @@ (func $dropIgnoredImportsInIf (; 66 ;) (param $$0 i32) (param $$1 i32) (param $$2 i32) (block $do-once (if - (get_local $$0) + (local.get $$0) (drop (call $lb - (get_local $$1) + (local.get $$1) ) ) (drop (call $lb - (get_local $$2) + (local.get $$2) ) ) ) @@ -1928,24 +1928,24 @@ ) (func $f32_ucast (; 67 ;) (param $x i32) (result f32) (return - (f32.convert_u/i32 - (get_local $x) + (f32.convert_i32_u + (local.get $x) ) ) ) (func $f32_scast (; 68 ;) (param $x i32) (result f32) (return - (f32.convert_s/i32 - (get_local $x) + (f32.convert_i32_s + (local.get $x) ) ) ) (func $store_fround (; 69 ;) (param $x i32) (f64.store (i32.const 80) - (f64.promote/f32 - (f32.convert_s/i32 - (get_local $x) + (f64.promote_f32 + (f32.convert_i32_s + (local.get $x) ) ) ) @@ -1967,19 +1967,19 @@ ) (func $exported_f32_user (; 71 ;) (param $x i32) (param $y f32) (param $z f64) (result f32) (return - (get_local $y) + (local.get $y) ) ) (func $sqrts (; 72 ;) (param $x f64) (result f64) (return (f64.add (f64.sqrt - (get_local $x) + (local.get $x) ) - (f64.promote/f32 + (f64.promote_f32 (f32.sqrt - (f32.demote/f64 - (get_local $x) + (f32.demote_f64 + (local.get $x) ) ) ) @@ -1989,14 +1989,14 @@ (func $f2u (; 73 ;) (param $x f64) (result i32) (return (call $f64-to-int - (get_local $x) + (local.get $x) ) ) ) (func $f2s (; 74 ;) (param $x f64) (result i32) (return (call $f64-to-int - (get_local $x) + (local.get $x) ) ) ) @@ -2005,7 +2005,7 @@ (block $while-out (if (i32.eq - (get_local $x) + (local.get $x) (i32.const 17) ) (block @@ -2020,7 +2020,7 @@ ) (block (br $while-out) - (set_local $x + (local.set $x (call $autoDrop (i32.const 2) ) @@ -2031,12 +2031,12 @@ ) ) (return - (get_local $x) + (local.get $x) ) ) (func $indirectInSequence (; 76 ;) (local $i1 i32) - (set_local $i1 + (local.set $i1 (block (result i32) (call_indirect (type $FUNCSIG$vi) (i32.const 0) @@ -2055,14 +2055,14 @@ (func $emterpretify_assertions_safeHeap (; 77 ;) (local $i1 i32) (call_indirect (type $FUNCSIG$vi) - (get_local $i1) + (local.get $i1) (i32.add (i32.and (block (result i32) - (set_global $Int + (global.set $Int (i32.const 1) ) - (get_global $Int) + (global.get $Int) ) (i32.const 7) ) @@ -2090,16 +2090,16 @@ (return (call $f64-to-int (f64.sub - (get_local $d2) + (local.get $d2) (f64.mul (f64.div (call $f64-rem - (get_local $d8) - (get_local $d1) + (local.get $d8) + (local.get $d1) ) - (get_local $d1) + (local.get $d1) ) - (get_local $d2) + (local.get $d2) ) ) ) @@ -2150,54 +2150,54 @@ ) (func $ii (; 83 ;) (param $x i32) (result i32) (return - (get_local $x) + (local.get $x) ) ) (func $legalstub$conversions (; 84 ;) (param $0 i32) (param $1 f64) (param $2 f64) (call $conversions - (get_local $0) - (get_local $1) - (f32.demote/f64 - (get_local $2) + (local.get $0) + (local.get $1) + (f32.demote_f64 + (local.get $2) ) ) ) (func $legalstub$frem_float (; 85 ;) (result f64) - (f64.promote/f32 + (f64.promote_f32 (call $frem_float) ) ) (func $legalstub$fr (; 86 ;) (param $0 f64) (call $fr - (f32.demote/f64 - (get_local $0) + (f32.demote_f64 + (local.get $0) ) ) ) (func $legalstub$ceiling_32_64 (; 87 ;) (param $0 f64) (param $1 f64) (call $ceiling_32_64 - (f32.demote/f64 - (get_local $0) + (f32.demote_f64 + (local.get $0) ) - (get_local $1) + (local.get $1) ) ) (func $legalstub$bitcasts (; 88 ;) (param $0 i32) (param $1 f64) (call $bitcasts - (get_local $0) - (f32.demote/f64 - (get_local $1) + (local.get $0) + (f32.demote_f64 + (local.get $1) ) ) ) (func $legalstub$exported_f32_user (; 89 ;) (param $0 i32) (param $1 f64) (param $2 f64) (result f64) - (f64.promote/f32 + (f64.promote_f32 (call $exported_f32_user - (get_local $0) - (f32.demote/f64 - (get_local $1) + (local.get $0) + (f32.demote_f64 + (local.get $1) ) - (get_local $2) + (local.get $2) ) ) ) |