Skip to content

Commit 9fe36a1

Browse files
committed
Update base for Update on "[compiler] add fixture for optimization across scopes"
Adds a fixture based on internal case where our current output is quite a bit more verbose than the original memoization. See the comment in the fixture for more about the heuristic we can apply. [ghstack-poisoned]
1 parent 4d9dd80 commit 9fe36a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/packages/babel-plugin-react-compiler/src/Optimization/InstructionReordering.ts

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ type References = {
103103
};
104104
type LastAssignments = Map<string, InstructionId>;
105105
type SingleUseIdentifiers = Set<IdentifierId>;
106-
type Range = { start: InstructionId; end: InstructionId };
107106
enum ReferenceKind {
108107
Read,
109108
Write,

0 commit comments

Comments
 (0)