mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
Similar to #4361. `ScopeTree::add_scope` had a branch specifically to handle `Program`. Remove that by inlining the special logic for `Program` into `visit_program`. Probably won't have much effect on benchmarks as the branch is easy to predict, but still removes a few instructions and makes `add_scope` easier for compiler to inline. |
||
|---|---|---|
| .. | ||
| checker | ||
| class | ||
| jsdoc | ||
| module_record | ||
| binder.rs | ||
| builder.rs | ||
| diagnostics.rs | ||
| dot.rs | ||
| label.rs | ||
| lib.rs | ||
| node.rs | ||
| reference.rs | ||
| scope.rs | ||
| symbol.rs | ||