From c19ab68edd5f9ec2d7baf3c73c6fdc612146b2cd Mon Sep 17 00:00:00 2001 From: Sathya Gunsasekaran Date: Fri, 2 Aug 2024 19:13:47 +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]