Repository navigation
Commit bb8b072
committed
fix(javascript): keep @__NOINLINE__ and yield/await IIFEs as calls
The improve phase moved a function's body into its caller even when the
call was marked @__NOINLINE__, which terser honors, or when the body named
yield or await, which a generator or async caller reads as its own.
Claude-Session: https://claude.ai/code/session_01ViD41i2KdwwGxrDk7yrjeD1 parent 08eca1f commit bb8b072
2 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19062 | 19062 | | |
19063 | 19063 | | |
19064 | 19064 | | |
19065 | | - | |
| 19065 | + | |
| 19066 | + | |
19066 | 19067 | | |
19067 | 19068 | | |
19068 | 19069 | | |
| |||
19079 | 19080 | | |
19080 | 19081 | | |
19081 | 19082 | | |
19082 | | - | |
| 19083 | + | |
| 19084 | + | |
| 19085 | + | |
19083 | 19086 | | |
19084 | 19087 | | |
19085 | 19088 | | |
| |||
19147 | 19150 | | |
19148 | 19151 | | |
19149 | 19152 | | |
19150 | | - | |
| 19153 | + | |
| 19154 | + | |
19151 | 19155 | | |
19152 | 19156 | | |
19153 | 19157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
| |||
0 commit comments