diff options
Diffstat (limited to 'test/wasm-only.fromasm.imprecise')
-rw-r--r-- | test/wasm-only.fromasm.imprecise | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/wasm-only.fromasm.imprecise b/test/wasm-only.fromasm.imprecise index 49caef5e8..5cbbd6bb5 100644 --- a/test/wasm-only.fromasm.imprecise +++ b/test/wasm-only.fromasm.imprecise @@ -25,7 +25,7 @@ (export "illegalParam" (func $legalstub$illegalParam)) (export "illegalResult" (func $legalstub$illegalResult)) (export "keepAlive" (func $keepAlive)) - (func $stores (; 6 ;) (; has Stack IR ;) + (func $stores (; has Stack IR ;) (i32.store8 (i32.const 100) (i32.const 0) @@ -115,7 +115,7 @@ (f64.const 0) ) ) - (func $test64 (; 7 ;) (; has Stack IR ;) + (func $test64 (; has Stack IR ;) (local $0 i64) (i64.store (i32.const 120) @@ -142,7 +142,7 @@ (local.get $0) ) ) - (func $imports (; 8 ;) (; has Stack IR ;) + (func $imports (; has Stack IR ;) (call $legalfunc$illegalImport (f64.const -3.13159) (i64.const 94489280523) @@ -162,7 +162,7 @@ ) ) ) - (func $arg (; 9 ;) (; has Stack IR ;) (param $0 i64) + (func $arg (; has Stack IR ;) (param $0 i64) (i64.store (i32.const 100) (local.get $0) @@ -171,7 +171,7 @@ (local.get $0) ) ) - (func $illegalParam (; 10 ;) (; has Stack IR ;) (param $0 i32) (param $1 i64) (param $2 f64) + (func $illegalParam (; has Stack IR ;) (param $0 i32) (param $1 i64) (param $2 f64) (i32.store (i32.const 50) (local.get $0) @@ -190,12 +190,12 @@ (f64.const 12.34) ) ) - (func $call1 (; 11 ;) (; has Stack IR ;) (param $0 i64) (result i64) + (func $call1 (; has Stack IR ;) (param $0 i64) (result i64) (call $call1 (local.get $0) ) ) - (func $call2 (; 12 ;) (; has Stack IR ;) (param $0 i64) (result i64) + (func $call2 (; has Stack IR ;) (param $0 i64) (result i64) (drop (call $call2 (call $call2 @@ -205,26 +205,26 @@ ) (i64.const 245127260211081) ) - (func $ifValue64 (; 13 ;) (; has Stack IR ;) + (func $ifValue64 (; has Stack IR ;) (drop (call $call2 (i64.const 0) ) ) ) - (func $ifValue32 (; 14 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (result i32) + (func $ifValue32 (; has Stack IR ;) (param $0 i32) (param $1 i32) (result i32) (call $ifValue32 (local.get $0) (local.get $1) ) ) - (func $unreachable_leftovers (; 15 ;) (; has Stack IR ;) + (func $unreachable_leftovers (; has Stack IR ;) (i32.store (i32.const 0) (i32.const -2) ) ) - (func $keepAlive (; 16 ;) (; has Stack IR ;) + (func $keepAlive (; has Stack IR ;) (call $stores) (call $stores) (call $imports) @@ -272,7 +272,7 @@ (call $unreachable_leftovers) (call $unreachable_leftovers) ) - (func $legalstub$illegalParam (; 17 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 f64) + (func $legalstub$illegalParam (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 f64) (call $illegalParam (local.get $0) (i64.or @@ -289,13 +289,13 @@ (local.get $3) ) ) - (func $legalstub$illegalResult (; 18 ;) (; has Stack IR ;) (result i32) + (func $legalstub$illegalResult (; has Stack IR ;) (result i32) (call $setTempRet0 (i32.const 2) ) (i32.const 1) ) - (func $legalfunc$illegalImport (; 19 ;) (; has Stack IR ;) (param $0 f64) (param $1 i64) (param $2 i32) + (func $legalfunc$illegalImport (; has Stack IR ;) (param $0 f64) (param $1 i64) (param $2 i32) (call $legalimport$illegalImport (local.get $0) (i32.wrap_i64 @@ -310,7 +310,7 @@ (local.get $2) ) ) - (func $legalfunc$do_i64 (; 20 ;) (; has Stack IR ;) (result i64) + (func $legalfunc$do_i64 (; has Stack IR ;) (result i64) (i64.or (i64.extend_i32_u (call $legalimport$do_i64) |