diff options
Diffstat (limited to 'test/passes/emit-js-wrapper=a.js.txt')
-rw-r--r-- | test/passes/emit-js-wrapper=a.js.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/passes/emit-js-wrapper=a.js.txt b/test/passes/emit-js-wrapper=a.js.txt index 086096889..c772e840b 100644 --- a/test/passes/emit-js-wrapper=a.js.txt +++ b/test/passes/emit-js-wrapper=a.js.txt @@ -13,19 +13,19 @@ (export "types" (func $legalstub$types)) (export "types2" (func $types2)) (export "types3" (func $legalstub$types3)) - (func $add (; 1 ;) (param $x i32) (param $y i32) (result i32) + (func $add (param $x i32) (param $y i32) (result i32) (i32.add (local.get $x) (local.get $y) ) ) - (func $unexported (; 2 ;) (param $x i32) (param $y i32) (result i32) + (func $unexported (param $x i32) (param $y i32) (result i32) (i32.add (local.get $x) (local.get $y) ) ) - (func $no-return (; 3 ;) (param $x i32) + (func $no-return (param $x i32) (drop (i32.add (local.get $x) @@ -33,16 +33,16 @@ ) ) ) - (func $types (; 4 ;) (param $x i32) (param $y i64) (param $z f32) (param $w f64) + (func $types (param $x i32) (param $y i64) (param $z f32) (param $w f64) (nop) ) - (func $types2 (; 5 ;) (param $x i32) (param $z f32) (param $w f64) + (func $types2 (param $x i32) (param $z f32) (param $w f64) (nop) ) - (func $types3 (; 6 ;) (param $x i32) (param $z f32) (param $w f64) (result i64) + (func $types3 (param $x i32) (param $z f32) (param $w f64) (result i64) (i64.const 1) ) - (func $legalstub$types (; 7 ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 f32) (param $4 f64) + (func $legalstub$types (param $0 i32) (param $1 i32) (param $2 i32) (param $3 f32) (param $4 f64) (call $types (local.get $0) (i64.or @@ -60,7 +60,7 @@ (local.get $4) ) ) - (func $legalstub$types3 (; 8 ;) (param $0 i32) (param $1 f32) (param $2 f64) (result i32) + (func $legalstub$types3 (param $0 i32) (param $1 f32) (param $2 f64) (result i32) (local $3 i64) (local.set $3 (call $types3 |