react/compiler/packages
Mofei Zhang c67e241c16 [compiler] Renames and no-op refactor for next PR
Rename for clarity:
- `CollectHoistablePropertyLoads:Tree` -> `CollectHoistablePropertyLoads:PropertyPathRegistry`
    - `getPropertyLoadNode` -> `getOrCreateProperty`
    - `getOrCreateRoot` -> `getOrCreateIdentifier`
- `PropertyLoadNode` -> `PropertyPathNode`

Refactor to CFG joining logic for `CollectHoistablePropertyLoads`. We now write to the same set of inferredNonNullObjects when traversing from entry and exit blocks. This is more correct, as non-nulls inferred from a forward traversal should be included when computing the backward traversal (and vice versa). This fix is needed by an edge case in #31036

Added invariant into fixed-point iteration to terminate (instead of infinite looping).

ghstack-source-id: 1e8eb2d566b649ede93de9a9c13dad09b96416a5
Pull Request resolved: https://github.com/facebook/react/pull/31036
2024-09-30 12:35:16 -04:00
..
babel-plugin-react-compiler [compiler] Renames and no-op refactor for next PR 2024-09-30 12:35:16 -04:00
eslint-plugin-react-compiler [compiler][eslint] Report bailout diagnostics with correct column # (#30977) 2024-09-16 15:56:24 -04:00
make-read-only-util [compiler] Add git info to package.json files in compiler packages (#30475) 2024-07-26 12:56:39 -04:00
react-compiler-healthcheck [compiler] Add git info to package.json files in compiler packages (#30475) 2024-07-26 12:56:39 -04:00
react-compiler-runtime [compiler] Add git info to package.json files in compiler packages (#30475) 2024-07-26 12:56:39 -04:00
snap [compiler][fixtures] Patch error-handling edge case in snap evaluator 2024-09-30 12:35:16 -04:00