[compiler][ez] Include phi identifier in AssertValidMutableRanges

Summary:
Looks like we accidentally skipped validating this identifier.

ghstack-source-id: 05964331a8
Pull Request resolved: https://github.com/facebook/react/pull/31170
This commit is contained in:
Mike Vitousek 2024-10-09 22:09:14 -07:00
parent f5b8d9378b
commit 131ae818a1

View File

@ -20,6 +20,7 @@ import {
export function assertValidMutableRanges(fn: HIRFunction): void {
for (const [, block] of fn.body.blocks) {
for (const phi of block.phis) {
visitIdentifier(phi.id);
for (const [, operand] of phi.operands) {
visitIdentifier(operand);
}