|
2 | 2 | (type $0 (func (param i32 i32 i32) (result i32))) |
3 | 3 | (type $1 (func)) |
4 | 4 | (type $2 (func (result i32))) |
5 | | - (type $3 (func (param i32 i32 i32))) |
6 | | - (type $4 (func (param i32 i32))) |
7 | | - (type $5 (func (param i32) (result i32))) |
8 | | - (type $6 (func (param i32 i32) (result i32))) |
| 5 | + (type $3 (func (param i32 i32) (result i32))) |
9 | 6 | (import "env" "emscripten_asm_const_int" (func $emscripten_asm_const_int (param i32 i32 i32) (result i32))) |
10 | 7 | (memory $0 2) |
11 | | - (data (i32.const 568) "{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\00") |
| 8 | + (data (i32.const 568) "{ Module.print(\"Hello world\"); }\00\00{ return $0 + $1; }\00ii\00{ Module.print(\"Got \" + $0); }\00i\00") |
12 | 9 | (table $0 1 1 funcref) |
13 | | - (global $global$0 (mut i32) (i32.const 66192)) |
14 | | - (global $global$1 i32 (i32.const 66192)) |
15 | | - (global $global$2 i32 (i32.const 652)) |
| 10 | + (global $global$0 (mut i32) (i32.const 66208)) |
| 11 | + (global $global$1 i32 (i32.const 658)) |
16 | 12 | (export "memory" (memory $0)) |
17 | 13 | (export "__wasm_call_ctors" (func $__wasm_call_ctors)) |
18 | | - (export "__heap_base" (global $global$1)) |
19 | | - (export "__data_end" (global $global$2)) |
20 | 14 | (export "main" (func $main)) |
| 15 | + (export "__data_end" (global $global$1)) |
21 | 16 | (func $__wasm_call_ctors (; 1 ;) (type $1) |
22 | 17 | ) |
23 | 18 | (func $__original_main (; 2 ;) (type $2) (result i32) |
24 | 19 | (local $0 i32) |
25 | | - (local $1 i32) |
26 | 20 | (global.set $global$0 |
27 | 21 | (local.tee $0 |
28 | 22 | (i32.sub |
|
31 | 25 | ) |
32 | 26 | ) |
33 | 27 | ) |
34 | | - (i32.store8 offset=24 |
35 | | - (local.get $0) |
36 | | - (call $__em_asm_sig_builder::inner<>\20const\20__em_asm_sig_builder::__em_asm_sig<>\28\29) |
37 | | - ) |
38 | 28 | (drop |
39 | 29 | (call $emscripten_asm_const_int |
40 | 30 | (i32.const 568) |
41 | | - (i32.add |
42 | | - (local.get $0) |
43 | | - (i32.const 24) |
44 | | - ) |
| 31 | + (i32.const 601) |
45 | 32 | (i32.const 0) |
46 | 33 | ) |
47 | 34 | ) |
48 | | - (call $__em_asm_sig_builder::inner<int\2c\20int>\20const\20__em_asm_sig_builder::__em_asm_sig<int\2c\20int>\28int\2c\20int\29 |
49 | | - (i32.add |
50 | | - (local.get $0) |
51 | | - (i32.const 24) |
52 | | - ) |
53 | | - (i32.const 13) |
54 | | - (i32.const 27) |
55 | | - ) |
56 | 35 | (i64.store offset=16 |
57 | 36 | (local.get $0) |
58 | 37 | (i64.const 115964117005) |
59 | 38 | ) |
60 | | - (call $__em_asm_sig_builder::inner<int>\20const\20__em_asm_sig_builder::__em_asm_sig<int>\28int\29 |
61 | | - (i32.add |
62 | | - (local.get $0) |
63 | | - (i32.const 24) |
64 | | - ) |
65 | | - (local.tee $1 |
66 | | - (call $emscripten_asm_const_int |
67 | | - (i32.const 601) |
68 | | - (i32.add |
69 | | - (local.get $0) |
70 | | - (i32.const 24) |
71 | | - ) |
72 | | - (i32.add |
73 | | - (local.get $0) |
74 | | - (i32.const 16) |
75 | | - ) |
76 | | - ) |
77 | | - ) |
78 | | - ) |
79 | 39 | (i32.store |
80 | 40 | (local.get $0) |
81 | | - (local.get $1) |
82 | | - ) |
83 | | - (drop |
84 | 41 | (call $emscripten_asm_const_int |
85 | | - (i32.const 621) |
| 42 | + (i32.const 602) |
| 43 | + (i32.const 622) |
86 | 44 | (i32.add |
87 | 45 | (local.get $0) |
88 | | - (i32.const 24) |
89 | | - ) |
90 | | - (local.get $0) |
91 | | - ) |
92 | | - ) |
93 | | - (global.set $global$0 |
94 | | - (i32.add |
95 | | - (local.get $0) |
96 | | - (i32.const 32) |
97 | | - ) |
98 | | - ) |
99 | | - (i32.const 0) |
100 | | - ) |
101 | | - (func $__em_asm_sig_builder::inner<>\20const\20__em_asm_sig_builder::__em_asm_sig<>\28\29 (; 3 ;) (type $2) (result i32) |
102 | | - (i32.const 0) |
103 | | - ) |
104 | | - (func $__em_asm_sig_builder::inner<int\2c\20int>\20const\20__em_asm_sig_builder::__em_asm_sig<int\2c\20int>\28int\2c\20int\29 (; 4 ;) (type $3) (param $0 i32) (param $1 i32) (param $2 i32) |
105 | | - (local $3 i32) |
106 | | - (global.set $global$0 |
107 | | - (local.tee $3 |
108 | | - (i32.sub |
109 | | - (global.get $global$0) |
110 | 46 | (i32.const 16) |
111 | 47 | ) |
112 | 48 | ) |
113 | 49 | ) |
114 | | - (i32.store8 offset=13 |
115 | | - (local.get $3) |
116 | | - (call $__em_asm_sig_builder::sig_char\28int\29 |
117 | | - (local.get $1) |
118 | | - ) |
119 | | - ) |
120 | | - (local.set $2 |
121 | | - (call $__em_asm_sig_builder::sig_char\28int\29 |
122 | | - (local.get $2) |
123 | | - ) |
124 | | - ) |
125 | | - (i32.store8 |
126 | | - (i32.add |
| 50 | + (drop |
| 51 | + (call $emscripten_asm_const_int |
| 52 | + (i32.const 625) |
| 53 | + (i32.const 656) |
127 | 54 | (local.get $0) |
128 | | - (i32.const 2) |
129 | | - ) |
130 | | - (i32.const 0) |
131 | | - ) |
132 | | - (i32.store8 offset=14 |
133 | | - (local.get $3) |
134 | | - (local.get $2) |
135 | | - ) |
136 | | - (i32.store16 align=1 |
137 | | - (local.get $0) |
138 | | - (i32.load16_u offset=13 align=1 |
139 | | - (local.get $3) |
140 | | - ) |
141 | | - ) |
142 | | - (global.set $global$0 |
143 | | - (i32.add |
144 | | - (local.get $3) |
145 | | - (i32.const 16) |
146 | | - ) |
147 | | - ) |
148 | | - ) |
149 | | - (func $__em_asm_sig_builder::inner<int>\20const\20__em_asm_sig_builder::__em_asm_sig<int>\28int\29 (; 5 ;) (type $4) (param $0 i32) (param $1 i32) |
150 | | - (local $2 i32) |
151 | | - (global.set $global$0 |
152 | | - (local.tee $2 |
153 | | - (i32.sub |
154 | | - (global.get $global$0) |
155 | | - (i32.const 16) |
156 | | - ) |
157 | | - ) |
158 | | - ) |
159 | | - (local.set $1 |
160 | | - (call $__em_asm_sig_builder::sig_char\28int\29 |
161 | | - (local.get $1) |
162 | | - ) |
163 | | - ) |
164 | | - (i32.store8 offset=15 |
165 | | - (local.get $2) |
166 | | - (i32.const 0) |
167 | | - ) |
168 | | - (i32.store8 offset=14 |
169 | | - (local.get $2) |
170 | | - (local.get $1) |
171 | | - ) |
172 | | - (i32.store16 align=1 |
173 | | - (local.get $0) |
174 | | - (i32.load16_u offset=14 |
175 | | - (local.get $2) |
176 | 55 | ) |
177 | 56 | ) |
178 | 57 | (global.set $global$0 |
179 | 58 | (i32.add |
180 | | - (local.get $2) |
181 | | - (i32.const 16) |
| 59 | + (local.get $0) |
| 60 | + (i32.const 32) |
182 | 61 | ) |
183 | 62 | ) |
| 63 | + (i32.const 0) |
184 | 64 | ) |
185 | | - (func $__em_asm_sig_builder::sig_char\28int\29 (; 6 ;) (type $5) (param $0 i32) (result i32) |
186 | | - (i32.const 105) |
187 | | - ) |
188 | | - (func $main (; 7 ;) (type $6) (param $0 i32) (param $1 i32) (result i32) |
| 65 | + (func $main (; 3 ;) (type $3) (param $0 i32) (param $1 i32) (result i32) |
189 | 66 | (call $__original_main) |
190 | 67 | ) |
191 | | - ;; custom section "producers", size 111 |
| 68 | + ;; custom section "producers", size 112 |
192 | 69 | ) |
193 | 70 |
|
0 commit comments