Skip to content

Commit b06c39e

Browse files
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]
2 parents 08720a3 + 92dd0e9 commit b06c39e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/packages/babel-plugin-react-compiler/src/Optimization/LowerContextAccess.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
BasicBlock,
1111
CallExpression,
1212
Destructure,
13-
Effect,
1413
Environment,
1514
GeneratedSource,
1615
HIRFunction,

0 commit comments

Comments
 (0)