|
1 | 1 | (module |
2 | | - (type $i32_=>_i32 (func (param i32) (result i32))) |
3 | 2 | (type $none_=>_none (func)) |
4 | 3 | (type $i32_=>_none (func (param i32))) |
| 4 | + (type $i32_=>_i32 (func (param i32) (result i32))) |
5 | 5 | (type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32))) |
6 | 6 | (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) |
7 | 7 | (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32))) |
|
105 | 105 | call $~lib/rt/stub/__alloc |
106 | 106 | end |
107 | 107 | ) |
108 | | - (func $~lib/string/String#get:length (param $0 i32) (result i32) |
109 | | - local.get $0 |
110 | | - i32.const 16 |
111 | | - i32.sub |
112 | | - i32.load offset=12 |
113 | | - i32.const 1 |
114 | | - i32.shr_u |
115 | | - ) |
116 | 108 | (func $~lib/util/string/compareImpl (param $0 i32) (param $1 i32) (param $2 i32) (result i32) |
117 | 109 | (local $3 i32) |
118 | 110 | (local $4 i32) |
|
206 | 198 | select |
207 | 199 | br_if $folding-inner0 |
208 | 200 | local.get $0 |
209 | | - call $~lib/string/String#get:length |
| 201 | + i32.const 16 |
| 202 | + i32.sub |
| 203 | + i32.load offset=12 |
| 204 | + i32.const 1 |
| 205 | + i32.shr_u |
210 | 206 | local.tee $2 |
211 | 207 | local.get $1 |
212 | | - call $~lib/string/String#get:length |
| 208 | + i32.const 16 |
| 209 | + i32.sub |
| 210 | + i32.load offset=12 |
| 211 | + i32.const 1 |
| 212 | + i32.shr_u |
213 | 213 | i32.ne |
214 | 214 | br_if $folding-inner0 |
215 | 215 | local.get $0 |
|
239 | 239 | i32.const 1184 |
240 | 240 | global.set $class-overloading/which |
241 | 241 | ) |
242 | | - (func $class-overloading/D#constructor (param $0 i32) (result i32) |
| 242 | + (func $class-overloading/E#constructor (param $0 i32) (result i32) |
243 | 243 | local.get $0 |
244 | | - if (result i32) |
245 | | - local.get $0 |
246 | | - else |
247 | | - i32.const 6 |
| 244 | + i32.eqz |
| 245 | + if |
| 246 | + i32.const 7 |
248 | 247 | call $~lib/rt/stub/__alloc |
| 248 | + local.set $0 |
249 | 249 | end |
250 | | - call $class-overloading/B#constructor |
251 | | - ) |
252 | | - (func $class-overloading/E#constructor (param $0 i32) (result i32) |
253 | 250 | local.get $0 |
254 | 251 | if (result i32) |
255 | 252 | local.get $0 |
256 | 253 | else |
257 | | - i32.const 7 |
| 254 | + i32.const 6 |
258 | 255 | call $~lib/rt/stub/__alloc |
259 | 256 | end |
260 | | - call $class-overloading/D#constructor |
| 257 | + call $class-overloading/B#constructor |
261 | 258 | ) |
262 | 259 | (func $start:class-overloading |
263 | 260 | i32.const 1296 |
|
392 | 389 | call $~lib/builtins/abort |
393 | 390 | unreachable |
394 | 391 | end |
395 | | - i32.const 0 |
396 | | - call $class-overloading/D#constructor |
| 392 | + i32.const 6 |
| 393 | + call $~lib/rt/stub/__alloc |
| 394 | + call $class-overloading/B#constructor |
397 | 395 | global.set $class-overloading/a |
398 | 396 | i32.const 1040 |
399 | 397 | global.set $class-overloading/which |
|
0 commit comments