mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
[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:
parent
f5b8d9378b
commit
131ae818a1
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user