diff options
author | 2016-07-01 13:32:35 +0000 | |
---|---|---|
committer | 2016-07-01 13:32:36 +0000 | |
commit | 1fdb340de4e608a88e8683c857cad5d0da2c16de (patch) | |
tree | e502857a3010f03e11c8898c8150615eb5ff6633 /compiler/optimizing/bounds_check_elimination.cc | |
parent | 4890a7c1acab3dcead07bc0c7e8202659764de84 (diff) | |
parent | e90049140fdfb89080e5cc9b000b0c9be8c18bcd (diff) |
Merge "Create a typedef for HInstruction::GetInputs() return type."
Diffstat (limited to 'compiler/optimizing/bounds_check_elimination.cc')
-rw-r--r-- | compiler/optimizing/bounds_check_elimination.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/bounds_check_elimination.cc b/compiler/optimizing/bounds_check_elimination.cc index d786e82d11..1fc247faf1 100644 --- a/compiler/optimizing/bounds_check_elimination.cc +++ b/compiler/optimizing/bounds_check_elimination.cc @@ -912,9 +912,9 @@ class BCEVisitor : public HGraphVisitor { static bool HasSameInputAtBackEdges(HPhi* phi) { DCHECK(phi->IsLoopHeaderPhi()); - auto&& inputs = phi->GetInputs(); + HConstInputsRef inputs = phi->GetInputs(); // Start with input 1. Input 0 is from the incoming block. - HInstruction* input1 = inputs[1]; + const HInstruction* input1 = inputs[1]; DCHECK(phi->GetBlock()->GetLoopInformation()->IsBackEdge( *phi->GetBlock()->GetPredecessors()[1])); for (size_t i = 2; i < inputs.size(); ++i) { |