File tree Expand file tree Collapse file tree 4 files changed +68
-0
lines changed Expand file tree Collapse file tree 4 files changed +68
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ under the licensing terms detailed in LICENSE:
12
12
* Linus Unnebäck <linus@folkdatorn.se>
13
13
* Joshua Tenner <tenner.joshua@gmail.com>
14
14
* Nidin Vinayakan <01@01alchemist.com>
15
+ * Aaron Turner <aaron@aaronthedev.com>
15
16
16
17
Portions of this software are derived from third-party works licensed under
17
18
the following terms:
Original file line number Diff line number Diff line change
1
+ (module
2
+ (type $_ (func ))
3
+ (memory $0 0 )
4
+ (table $0 1 funcref )
5
+ (elem (i32.const 0 ) $start )
6
+ (global $export/a i32 (i32.const 1 ))
7
+ (global $export/b i32 (i32.const 2 ))
8
+ (export " memory" (memory $0 ))
9
+ (export " table" (table $0 ))
10
+ (export " a" (global $export/a ))
11
+ (export " renamed_a" (global $export/a ))
12
+ (export " renamed_b" (global $export/b ))
13
+ (export " renamed_renamed_b" (global $export/b ))
14
+ (func $start (; 0 ;) (type $_ )
15
+ nop
16
+ )
17
+ )
Original file line number Diff line number Diff line change
1
+ export * from './rereexport' ;
Original file line number Diff line number Diff line change
1
+ (module
2
+ (type $iii (func (param i32 i32 ) (result i32 )))
3
+ (type $_ (func ))
4
+ (memory $0 0 )
5
+ (table $0 1 funcref )
6
+ (elem (i32.const 0 ) $null )
7
+ (global $export/a i32 (i32.const 1 ))
8
+ (global $export/b i32 (i32.const 2 ))
9
+ (global $export/c i32 (i32.const 3 ))
10
+ (global $~lib/memory/HEAP_BASE i32 (i32.const 8 ))
11
+ (export " memory" (memory $0 ))
12
+ (export " table" (table $0 ))
13
+ (export " a" (global $export/a ))
14
+ (export " renamed_a" (global $export/a ))
15
+ (export " renamed_b" (global $export/b ))
16
+ (export " renamed_renamed_b" (global $export/b ))
17
+ (start $start )
18
+ (func $export/add (; 0 ;) (type $iii ) (param $0 i32 ) (param $1 i32 ) (result i32 )
19
+ local.get $0
20
+ local.get $1
21
+ i32.add
22
+ )
23
+ (func $export/mul (; 1 ;) (type $iii ) (param $0 i32 ) (param $1 i32 ) (result i32 )
24
+ local.get $0
25
+ local.get $1
26
+ i32.mul
27
+ )
28
+ (func $start:reexport (; 2 ;) (type $_ )
29
+ i32.const 1
30
+ i32.const 2
31
+ call $export/add
32
+ i32.const 3
33
+ i32.const 4
34
+ call $export/mul
35
+ i32.add
36
+ drop
37
+ )
38
+ (func $start:rereexport (; 3 ;) (type $_ )
39
+ call $start:reexport
40
+ )
41
+ (func $start:wildcard-export (; 4 ;) (type $_ )
42
+ call $start:rereexport
43
+ )
44
+ (func $start (; 5 ;) (type $_ )
45
+ call $start:wildcard-export
46
+ )
47
+ (func $null (; 6 ;) (type $_ )
48
+ )
49
+ )
You can’t perform that action at this time.
0 commit comments