Repository navigation
Commit e13ee98
authored
Minor cleanup and refactoring in
- Skip scanning `PRE_JS_FILES`, `POST_JS_FILES`, and `EM_JS_SNIPPETS` in
`--symbols-only` mode, and use `getIncludeFile` so preprocessed files
are handled consistently.
- Avoid mutating `LibraryManager.library[symbol]` when creating stub
functions and remove the unused `original` variable.
- Add `timer.start`/`timer.stop` around the `symbolHandler` loop.
Split out from #27995src/jsifier.mjs. NFC (#27997)1 parent d726e5d commit e13ee98
1 file changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
447 | 451 | | |
448 | 452 | | |
449 | 453 | | |
| |||
640 | 644 | | |
641 | 645 | | |
642 | 646 | | |
| 647 | + | |
643 | 648 | | |
644 | 649 | | |
645 | 650 | | |
| |||
692 | 697 | | |
693 | 698 | | |
694 | 699 | | |
695 | | - | |
| 700 | + | |
696 | 701 | | |
697 | 702 | | |
698 | 703 | | |
699 | 704 | | |
700 | 705 | | |
701 | 706 | | |
702 | 707 | | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | 708 | | |
707 | 709 | | |
708 | 710 | | |
| |||
988 | 990 | | |
989 | 991 | | |
990 | 992 | | |
| 993 | + | |
991 | 994 | | |
992 | 995 | | |
993 | 996 | | |
| 997 | + | |
994 | 998 | | |
995 | 999 | | |
996 | 1000 | | |
| |||
0 commit comments