Commit 219e668
authored
[Parser][NFC] Do less work when parsing function types (#6516)
After the initial parsing pass to find the locations of all the module elements
and after the type definitions have been parsed, the next phase of parsing is to
visit all of the module elements and parse their types. This phase does not
require parsing function bodies, but it previously parsed entire functions
anyway for simplicity. To improve performance, skip that useless work.1 parent c60fe15 commit 219e668
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
310 | 312 | | |
311 | 313 | | |
312 | 314 | | |
| 315 | + | |
| 316 | + | |
313 | 317 | | |
314 | 318 | | |
315 | 319 | | |
| |||
1198 | 1202 | | |
1199 | 1203 | | |
1200 | 1204 | | |
| 1205 | + | |
| 1206 | + | |
1201 | 1207 | | |
1202 | 1208 | | |
1203 | 1209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3028 | 3028 | | |
3029 | 3029 | | |
3030 | 3030 | | |
3031 | | - | |
3032 | | - | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
3033 | 3035 | | |
3034 | 3036 | | |
3035 | | - | |
| 3037 | + | |
3036 | 3038 | | |
3037 | 3039 | | |
3038 | 3040 | | |
| |||
0 commit comments