diff options
Diffstat (limited to 'test/passes/emit-js-wrapper=a.js.txt')
-rw-r--r-- | test/passes/emit-js-wrapper=a.js.txt | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/test/passes/emit-js-wrapper=a.js.txt b/test/passes/emit-js-wrapper=a.js.txt index 50a1c64c0..2044d0f48 100644 --- a/test/passes/emit-js-wrapper=a.js.txt +++ b/test/passes/emit-js-wrapper=a.js.txt @@ -1,10 +1,9 @@ (module - (type $0 (func (param i32 i32) (result i32))) - (type $1 (func (param i32))) - (type $2 (func (param i32 i64 f32 f64))) - (type $3 (func (param i32 f32 f64))) - (type $4 (func (param i32 f32 f64) (result i64))) + (type $FUNCSIG$iii (func (param i32 i32) (result i32))) (type $FUNCSIG$vi (func (param i32))) + (type $FUNCSIG$vijfd (func (param i32 i64 f32 f64))) + (type $FUNCSIG$vifd (func (param i32 f32 f64))) + (type $FUNCSIG$jifd (func (param i32 f32 f64) (result i64))) (import "env" "setTempRet0" (func $setTempRet0 (param i32))) (memory $0 256 256) (export "add" (func $add)) @@ -12,19 +11,19 @@ (export "types" (func $legalstub$types)) (export "types2" (func $types2)) (export "types3" (func $legalstub$types3)) - (func $add (; 1 ;) (type $0) (param $x i32) (param $y i32) (result i32) + (func $add (; 1 ;) (type $FUNCSIG$iii) (param $x i32) (param $y i32) (result i32) (i32.add (local.get $x) (local.get $y) ) ) - (func $unexported (; 2 ;) (type $0) (param $x i32) (param $y i32) (result i32) + (func $unexported (; 2 ;) (type $FUNCSIG$iii) (param $x i32) (param $y i32) (result i32) (i32.add (local.get $x) (local.get $y) ) ) - (func $no-return (; 3 ;) (type $1) (param $x i32) + (func $no-return (; 3 ;) (type $FUNCSIG$vi) (param $x i32) (drop (i32.add (local.get $x) @@ -32,13 +31,13 @@ ) ) ) - (func $types (; 4 ;) (type $2) (param $x i32) (param $y i64) (param $z f32) (param $w f64) + (func $types (; 4 ;) (type $FUNCSIG$vijfd) (param $x i32) (param $y i64) (param $z f32) (param $w f64) (nop) ) - (func $types2 (; 5 ;) (type $3) (param $x i32) (param $z f32) (param $w f64) + (func $types2 (; 5 ;) (type $FUNCSIG$vifd) (param $x i32) (param $z f32) (param $w f64) (nop) ) - (func $types3 (; 6 ;) (type $4) (param $x i32) (param $z f32) (param $w f64) (result i64) + (func $types3 (; 6 ;) (type $FUNCSIG$jifd) (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) |