mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[hir] Remove unnecessary rewrite of instr.lvalue
The for loop over eachInstructionLValue already rewrites instr.lvalue: ```
for (const place of eachInstructionLValue(instr)) {
rewritePlace(place, rewrites); } ```
This commit is contained in:
@@ -112,9 +112,6 @@ export function eliminateRedundantPhi(
|
||||
rewritePlace(place, rewrites);
|
||||
}
|
||||
}
|
||||
|
||||
rewritePlace(instr.lvalue, rewrites);
|
||||
|
||||
// visit function expressions on first iteration of each block
|
||||
if (
|
||||
isFirstIteration &&
|
||||
|
||||
Reference in New Issue
Block a user