Commit 0904479
committed
Update on "[compiler] Add lowerContextAccess pass"
*This is only for internal profiling, not intended to ship.*
This pass is intended to be used with #30407.
This pass synthesizes selector functions by collecting immediately
destructured context acesses. We bailout for other types of context
access.
This pass lowers context access to use a selector function by passing
the synthesized selector function as the second argument.
[ghstack-poisoned]File tree
1 file changed
+0
-1
lines changed- compiler/packages/babel-plugin-react-compiler/src/Optimization
1 file changed
+0
-1
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
| |||
0 commit comments