fix variable shadowing
BUG=427616 LOG=N Review URL: https://codereview.chromium.org/1087533002 Cr-Commit-Position: refs/heads/master@{#27805}
This commit is contained in:
parent
8b737395c8
commit
f7ace77427
@ -204,8 +204,7 @@ void MoveOptimizer::OptimizeMerge(InstructionBlock* block) {
|
||||
bool first_iteration = true;
|
||||
for (auto pred_index : block->predecessors()) {
|
||||
auto pred = code()->InstructionBlockAt(pred_index);
|
||||
auto instr = LastInstruction(pred);
|
||||
auto move_ops = instr->parallel_moves()[0]->move_operands();
|
||||
auto move_ops = LastInstruction(pred)->parallel_moves()[0]->move_operands();
|
||||
for (auto op = move_ops->begin(); op != move_ops->end(); ++op) {
|
||||
if (op->IsRedundant()) continue;
|
||||
MoveKey key = {*op->source(), *op->destination()};
|
||||
|
Loading…
Reference in New Issue
Block a user