From 2e0e13bf16aac83d928bbdc3b3a4a4e6b4c4549c Mon Sep 17 00:00:00 2001 From: Joe Savona Date: Wed, 7 Aug 2024 22:09:03 -0700 Subject: [PATCH] [compiler][be] Remove completed todo comment We made block types explicit a long time ago, this comment is super stale [ghstack-poisoned] --- .../src/HIR/MergeConsecutiveBlocks.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler/packages/babel-plugin-react-compiler/src/HIR/MergeConsecutiveBlocks.ts b/compiler/packages/babel-plugin-react-compiler/src/HIR/MergeConsecutiveBlocks.ts index 00b1da22423..98721f636f8 100644 --- a/compiler/packages/babel-plugin-react-compiler/src/HIR/MergeConsecutiveBlocks.ts +++ b/compiler/packages/babel-plugin-react-compiler/src/HIR/MergeConsecutiveBlocks.ts @@ -25,8 +25,6 @@ import {terminalFallthrough, terminalHasFallthrough} from './visitors'; * Note that this pass leaves value/loop blocks alone because they cannot * be merged without breaking the structure of the high-level terminals * that reference them. - * - * TODO @josephsavona make value blocks explicit (eg a `kind` on Block). */ export function mergeConsecutiveBlocks(fn: HIRFunction): void { const merged = new MergedBlocks();