diff options
| author | 2016-06-07 15:39:45 +0000 | |
|---|---|---|
| committer | 2016-06-07 15:39:45 +0000 | |
| commit | 4fb652a5ca96cdefa6dca6fe739f1ea89d1bb3e4 (patch) | |
| tree | 705141366b8df041b655f154437641031f25343c /compiler/optimizing/select_generator.cc | |
| parent | 97b1e6633be800827145c4ffeded1c834082730f (diff) | |
| parent | d6c205eb9b04bcfa072cd5ffdd93deef167ec340 (diff) | |
Merge "ART: Remove redundant MoveInstructionBefore method"
Diffstat (limited to 'compiler/optimizing/select_generator.cc')
| -rw-r--r-- | compiler/optimizing/select_generator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/select_generator.cc b/compiler/optimizing/select_generator.cc index e52476ea03..e409035d9d 100644 --- a/compiler/optimizing/select_generator.cc +++ b/compiler/optimizing/select_generator.cc @@ -96,10 +96,10 @@ void HSelectGenerator::Run() { // TODO(dbrazdil): This puts an instruction between If and its condition. // Implement moving of conditions to first users if possible. if (!true_block->IsSingleGoto()) { - true_block->MoveInstructionBefore(true_block->GetFirstInstruction(), if_instruction); + true_block->GetFirstInstruction()->MoveBefore(if_instruction); } if (!false_block->IsSingleGoto()) { - false_block->MoveInstructionBefore(false_block->GetFirstInstruction(), if_instruction); + false_block->GetFirstInstruction()->MoveBefore(if_instruction); } DCHECK(true_block->IsSingleGoto()); DCHECK(false_block->IsSingleGoto()); |