Skip to content

Commit 37f6255

Browse files
committed
[compiler][ez] Include phi identifier in AssertValidMutableRanges
Summary: Looks like we accidentally skipped validating this identifier. [ghstack-poisoned]
1 parent f5b8d93 commit 37f6255

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/packages/babel-plugin-react-compiler/src/HIR/AssertValidMutableRanges.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
export function assertValidMutableRanges(fn: HIRFunction): void {
2121
for (const [, block] of fn.body.blocks) {
2222
for (const phi of block.phis) {
23+
visitIdentifier(phi.id);
2324
for (const [, operand] of phi.operands) {
2425
visitIdentifier(operand);
2526
}

0 commit comments

Comments
 (0)