diff options
author | 2017-10-12 09:05:08 +0000 | |
---|---|---|
committer | 2017-10-12 09:05:08 +0000 | |
commit | 0284f43d625f0776ee0586a7cc321e11f5405e8c (patch) | |
tree | 983c86ff79f2a5a089bfa44ec27a5f2c5d6206b6 /compiler/optimizing/instruction_simplifier.cc | |
parent | 128acd4b5b34cdd51328de03df085deaa040b864 (diff) | |
parent | 52d52f5dc3e005829926e68c656fb27e8b008ae9 (diff) |
Merge changes I4bbb21bf,Ie79b46cd,Ia50aafc8
* changes:
Use ScopedArenaAllocator in GVN.
Use ScopedArenaAllocator for Phi elimination pass.
Use ScopedArenaAllocator for building HGraph.
Diffstat (limited to 'compiler/optimizing/instruction_simplifier.cc')
-rw-r--r-- | compiler/optimizing/instruction_simplifier.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/instruction_simplifier.cc b/compiler/optimizing/instruction_simplifier.cc index f39acab3d7..afe748458e 100644 --- a/compiler/optimizing/instruction_simplifier.cc +++ b/compiler/optimizing/instruction_simplifier.cc @@ -1284,9 +1284,9 @@ void InstructionSimplifierVisitor::VisitAnd(HAnd* instruction) { DCHECK(input_other->IsShr()); // For UShr, we would have taken the branch above. // Replace SHR+AND with USHR, for example "(x >> 24) & 0xff" -> "x >>> 24". HUShr* ushr = new (GetGraph()->GetAllocator()) HUShr(instruction->GetType(), - input_other->InputAt(0), - input_other->InputAt(1), - input_other->GetDexPc()); + input_other->InputAt(0), + input_other->InputAt(1), + input_other->GetDexPc()); instruction->GetBlock()->ReplaceAndRemoveInstructionWith(instruction, ushr); input_other->GetBlock()->RemoveInstruction(input_other); RecordSimplification(); |