We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1db59f + 0d13220 commit 01693b6Copy full SHA for 01693b6
compiler/packages/babel-plugin-react-compiler/src/HIR/PruneUnusedLabelsHIR.ts
@@ -69,7 +69,7 @@ export function pruneUnusedLabelsHIR(fn: HIRFunction): void {
69
}
70
71
for (const [_, block] of fn.body.blocks) {
72
- for (const pred of [...block.preds]) {
+ for (const pred of block.preds) {
73
const rewritten = rewrites.get(pred);
74
if (rewritten != null) {
75
block.preds.delete(pred);
0 commit comments