From df0f33a70d08a7b6d24ca3cb911066ceb0ca4ddb Mon Sep 17 00:00:00 2001 From: Sathya Gunsasekaran Date: Tue, 6 Aug 2024 17:15:11 +0100 Subject: [PATCH] Update base for Update on "[compiler] Add lowerContextAccess pass" *This is only for internal profiling, not intended to ship.* This pass is intended to be used with https://github.com/facebook/react/pull/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]