summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r--test/unit.fromasm.imprecise110
1 files changed, 55 insertions, 55 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index bc293072a..b8f679fb4 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -73,10 +73,10 @@
(export "relocatableAndModules" (func $relocatableAndModules))
(export "exported_f32_user" (func $legalstub$exported_f32_user))
(export "keepAlive" (func $keepAlive))
- (func $big_negative (; 7 ;)
+ (func $big_negative (; 7 ;) (; has Stack IR ;)
(nop)
)
- (func $importedDoubles (; 8 ;) (result f64)
+ (func $importedDoubles (; 8 ;) (; has Stack IR ;) (result f64)
(if
(i32.gt_s
(get_global $Int)
@@ -97,7 +97,7 @@
)
(f64.const 1.2)
)
- (func $doubleCompares (; 9 ;) (param $0 f64) (param $1 f64) (result f64)
+ (func $doubleCompares (; 9 ;) (; has Stack IR ;) (param $0 f64) (param $1 f64) (result f64)
(if
(f64.gt
(get_local $0)
@@ -136,12 +136,12 @@
)
(get_local $1)
)
- (func $intOps (; 10 ;) (param $0 i32) (result i32)
+ (func $intOps (; 10 ;) (; has Stack IR ;) (param $0 i32) (result i32)
(i32.eqz
(get_local $0)
)
)
- (func $switcher (; 11 ;) (param $0 i32) (result i32)
+ (func $switcher (; 11 ;) (; has Stack IR ;) (param $0 i32) (result i32)
(block $switch
(block $switch-case0
(block $switch-case
@@ -220,25 +220,25 @@
)
(i32.const 0)
)
- (func $frem (; 12 ;) (result f64)
+ (func $frem (; 12 ;) (; has Stack IR ;) (result f64)
(call $f64-rem
(f64.const 5.5)
(f64.const 1.2)
)
)
- (func $big_uint_div_u (; 13 ;) (result i32)
+ (func $big_uint_div_u (; 13 ;) (; has Stack IR ;) (result i32)
(i32.const 2147483647)
)
- (func $trapping_sint_div_s (; 14 ;) (result i32)
+ (func $trapping_sint_div_s (; 14 ;) (; has Stack IR ;) (result i32)
(i32.div_s
(i32.const -2147483648)
(i32.const -1)
)
)
- (func $negZero (; 15 ;) (result f64)
+ (func $negZero (; 15 ;) (; has Stack IR ;) (result f64)
(f64.const -0)
)
- (func $neg (; 16 ;)
+ (func $neg (; 16 ;) (; has Stack IR ;)
(local $0 f32)
(call_indirect (type $FUNCSIG$vf)
(f32.neg
@@ -247,13 +247,13 @@
(i32.const 9)
)
)
- (func $cneg (; 17 ;) (param $0 f32)
+ (func $cneg (; 17 ;) (; has Stack IR ;) (param $0 f32)
(call_indirect (type $FUNCSIG$vf)
(get_local $0)
(i32.const 9)
)
)
- (func $smallCompare (; 18 ;) (param $0 i32) (param $1 i32) (result i32)
+ (func $smallCompare (; 18 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (result i32)
(if
(i32.lt_s
(get_local $0)
@@ -280,13 +280,13 @@
)
(get_local $0)
)
- (func $cneg_nosemicolon (; 19 ;)
+ (func $cneg_nosemicolon (; 19 ;) (; has Stack IR ;)
(call_indirect (type $FUNCSIG$vi)
(i32.const 1)
(i32.const 17)
)
)
- (func $forLoop (; 20 ;)
+ (func $forLoop (; 20 ;) (; has Stack IR ;)
(local $0 i32)
(set_local $0
(i32.const 1)
@@ -312,7 +312,7 @@
)
)
)
- (func $aborts (; 21 ;)
+ (func $aborts (; 21 ;) (; has Stack IR ;)
(drop
(call $abort
(f64.const 0)
@@ -341,7 +341,7 @@
)
)
)
- (func $continues (; 22 ;)
+ (func $continues (; 22 ;) (; has Stack IR ;)
(loop $while-in
(call $print
(i32.const 1)
@@ -360,7 +360,7 @@
(br $while-in)
)
)
- (func $recursiveBlockMerging (; 23 ;) (param $0 i32) (result i32)
+ (func $recursiveBlockMerging (; 23 ;) (; has Stack IR ;) (param $0 i32) (result i32)
(drop
(call $lb
(i32.add
@@ -435,7 +435,7 @@
)
)
)
- (func $lb (; 24 ;) (param $0 i32) (result i32)
+ (func $lb (; 24 ;) (; has Stack IR ;) (param $0 i32) (result i32)
(i32.store
(get_local $0)
(i32.add
@@ -445,7 +445,7 @@
)
(i32.const 0)
)
- (func $zeroInit (; 25 ;) (param $0 i32)
+ (func $zeroInit (; 25 ;) (; has Stack IR ;) (param $0 i32)
(local $1 i32)
(if
(call $lb
@@ -475,7 +475,7 @@
)
)
)
- (func $phi (; 26 ;) (result i32)
+ (func $phi (; 26 ;) (; has Stack IR ;) (result i32)
(block $do-once (result i32)
(drop
(br_if $do-once
@@ -488,7 +488,7 @@
(i32.const 1)
)
)
- (func $smallIf (; 27 ;)
+ (func $smallIf (; 27 ;) (; has Stack IR ;)
(if
(call $return_int)
(drop
@@ -498,7 +498,7 @@
)
)
)
- (func $dropCall (; 28 ;) (result i32)
+ (func $dropCall (; 28 ;) (; has Stack IR ;) (result i32)
(if
(call $return_int)
(block
@@ -519,7 +519,7 @@
)
(call $phi)
)
- (func $useSetGlobal (; 29 ;) (result i32)
+ (func $useSetGlobal (; 29 ;) (; has Stack IR ;) (result i32)
(set_global $Int
(i32.const 10)
)
@@ -531,13 +531,13 @@
)
(get_global $Int)
)
- (func $usesSetGlobal2 (; 30 ;) (result i32)
+ (func $usesSetGlobal2 (; 30 ;) (; has Stack IR ;) (result i32)
(set_global $Int
(i32.const 40)
)
(i32.const 50)
)
- (func $breakThroughMany (; 31 ;) (param $0 i32)
+ (func $breakThroughMany (; 31 ;) (; has Stack IR ;) (param $0 i32)
(block $label$break$L1
(if
(get_local $0)
@@ -555,7 +555,7 @@
)
)
)
- (func $ifChainEmpty (; 32 ;) (param $0 i32) (result i32)
+ (func $ifChainEmpty (; 32 ;) (; has Stack IR ;) (param $0 i32) (result i32)
(if
(i32.eq
(get_local $0)
@@ -567,12 +567,12 @@
)
(i32.const 0)
)
- (func $heap8NoShift (; 33 ;) (param $0 i32) (result i32)
+ (func $heap8NoShift (; 33 ;) (; has Stack IR ;) (param $0 i32) (result i32)
(i32.load8_s
(get_local $0)
)
)
- (func $conditionalTypeFun (; 34 ;)
+ (func $conditionalTypeFun (; 34 ;) (; has Stack IR ;)
(drop
(if (result i32)
(call $return_int)
@@ -598,7 +598,7 @@
)
)
)
- (func $loadSigned (; 35 ;) (param $0 i32)
+ (func $loadSigned (; 35 ;) (; has Stack IR ;) (param $0 i32)
(call $loadSigned
(i32.load8_s
(get_local $0)
@@ -664,13 +664,13 @@
)
)
)
- (func $z (; 36 ;) (param $0 f32)
+ (func $z (; 36 ;) (; has Stack IR ;) (param $0 f32)
(nop)
)
- (func $w (; 37 ;) (result f64)
+ (func $w (; 37 ;) (; has Stack IR ;) (result f64)
(f64.const 0)
)
- (func $globalOpts (; 38 ;)
+ (func $globalOpts (; 38 ;) (; has Stack IR ;)
(local $0 i32)
(i32.store8
(i32.const 13)
@@ -700,7 +700,7 @@
(get_local $0)
)
)
- (func $dropCallImport (; 39 ;)
+ (func $dropCallImport (; 39 ;) (; has Stack IR ;)
(if
(call $return_int)
(drop
@@ -708,7 +708,7 @@
)
)
)
- (func $loophi (; 40 ;) (param $0 i32) (param $1 i32)
+ (func $loophi (; 40 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32)
(local $2 i32)
(loop $while-in
(block $while-out
@@ -738,7 +738,7 @@
)
)
)
- (func $loophi2 (; 41 ;) (result i32)
+ (func $loophi2 (; 41 ;) (; has Stack IR ;) (result i32)
(local $0 i32)
(local $1 i32)
(local $2 i32)
@@ -771,7 +771,7 @@
)
(get_local $1)
)
- (func $loophi2b (; 42 ;) (result i32)
+ (func $loophi2b (; 42 ;) (; has Stack IR ;) (result i32)
(local $0 i32)
(local $1 i32)
(loop $label$continue$L7
@@ -803,7 +803,7 @@
)
(get_local $0)
)
- (func $relooperJumpThreading (; 43 ;) (param $0 i32) (result i32)
+ (func $relooperJumpThreading (; 43 ;) (; has Stack IR ;) (param $0 i32) (result i32)
(block $__rjto$0
(block $__rjti$0
(if
@@ -972,7 +972,7 @@
)
(get_local $0)
)
- (func $relooperJumpThreading__ZN4game14preloadweaponsEv (; 44 ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (param $5 i32) (param $6 i32)
+ (func $relooperJumpThreading__ZN4game14preloadweaponsEv (; 44 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (param $5 i32) (param $6 i32)
(loop $while-in
(block $__rjto$1
(block $__rjti$1
@@ -999,7 +999,7 @@
(br $while-in)
)
)
- (func $relooperJumpThreading_irreducible (; 45 ;) (param $0 i32)
+ (func $relooperJumpThreading_irreducible (; 45 ;) (; has Stack IR ;) (param $0 i32)
(local $1 i32)
(if
(i32.eq
@@ -1051,7 +1051,7 @@
)
)
)
- (func $__Z12multi_varargiz (; 46 ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
+ (func $__Z12multi_varargiz (; 46 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
(if
(get_local $3)
(loop $while-in
@@ -1068,10 +1068,10 @@
)
)
)
- (func $jumpThreadDrop (; 47 ;) (result i32)
+ (func $jumpThreadDrop (; 47 ;) (; has Stack IR ;) (result i32)
(call $return_int)
)
- (func $dropIgnoredImportInIf (; 48 ;) (param $0 i32) (param $1 i32) (param $2 i32)
+ (func $dropIgnoredImportInIf (; 48 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32)
(if
(get_local $0)
(drop
@@ -1081,7 +1081,7 @@
)
)
)
- (func $dropIgnoredImportsInIf (; 49 ;) (param $0 i32) (param $1 i32) (param $2 i32)
+ (func $dropIgnoredImportsInIf (; 49 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32)
(drop
(if (result i32)
(get_local $0)
@@ -1094,7 +1094,7 @@
)
)
)
- (func $store_fround (; 50 ;) (param $0 i32)
+ (func $store_fround (; 50 ;) (; has Stack IR ;) (param $0 i32)
(f64.store
(i32.const 80)
(f64.promote/f32
@@ -1104,7 +1104,7 @@
)
)
)
- (func $relocatableAndModules (; 51 ;) (result i32)
+ (func $relocatableAndModules (; 51 ;) (; has Stack IR ;) (result i32)
(call_indirect (type $FUNCSIG$v)
(i32.const 10)
)
@@ -1117,7 +1117,7 @@
(i32.const 30)
)
)
- (func $sqrts (; 52 ;) (param $0 f64) (result f64)
+ (func $sqrts (; 52 ;) (; has Stack IR ;) (param $0 f64) (result f64)
(f64.add
(f64.sqrt
(get_local $0)
@@ -1131,7 +1131,7 @@
)
)
)
- (func $keepAlive (; 53 ;)
+ (func $keepAlive (; 53 ;) (; has Stack IR ;)
(drop
(call $sqrts
(f64.const 3.14159)
@@ -1168,16 +1168,16 @@
)
)
)
- (func $vi (; 54 ;) (param $0 i32)
+ (func $vi (; 54 ;) (; has Stack IR ;) (param $0 i32)
(nop)
)
- (func $ii (; 55 ;) (param $0 i32) (result i32)
+ (func $ii (; 55 ;) (; has Stack IR ;) (param $0 i32) (result i32)
(get_local $0)
)
- (func $legalstub$conversions (; 56 ;) (param $0 i32) (param $1 f64) (param $2 f64)
+ (func $legalstub$conversions (; 56 ;) (; has Stack IR ;) (param $0 i32) (param $1 f64) (param $2 f64)
(nop)
)
- (func $legalstub$frem_float (; 57 ;) (result f64)
+ (func $legalstub$frem_float (; 57 ;) (; has Stack IR ;) (result f64)
(f64.promote/f32
(f32.demote/f64
(call $f64-rem
@@ -1187,16 +1187,16 @@
)
)
)
- (func $legalstub$fr (; 58 ;) (param $0 f64)
+ (func $legalstub$fr (; 58 ;) (; has Stack IR ;) (param $0 f64)
(nop)
)
- (func $legalstub$ceiling_32_64 (; 59 ;) (param $0 f64) (param $1 f64)
+ (func $legalstub$ceiling_32_64 (; 59 ;) (; has Stack IR ;) (param $0 f64) (param $1 f64)
(nop)
)
- (func $legalstub$bitcasts (; 60 ;) (param $0 i32) (param $1 f64)
+ (func $legalstub$bitcasts (; 60 ;) (; has Stack IR ;) (param $0 i32) (param $1 f64)
(nop)
)
- (func $legalstub$exported_f32_user (; 61 ;) (param $0 i32) (param $1 f64) (param $2 f64) (result f64)
+ (func $legalstub$exported_f32_user (; 61 ;) (; has Stack IR ;) (param $0 i32) (param $1 f64) (param $2 f64) (result f64)
(f64.promote/f32
(f32.demote/f64
(get_local $1)