summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2016-06-16 16:50:52 +0100
committerVladimir Marko <vmarko@google.com>2016-07-01 13:26:24 +0100
commite90049140fdfb89080e5cc9b000b0c9be8c18bcd (patch)
tree66b45c052b6778fabd7847a44af5e610808fa867 /compiler/optimizing/code_generator.cc
parenta77ceae14a7be2494874d9256327efa8c522e234 (diff)
Create a typedef for HInstruction::GetInputs() return type.
And some other cleanup after https://android-review.googlesource.com/230742 Test: No new tests. ART test suite passed (tested on host). Change-Id: I4743bf17544d0234c6ccb46dd0c1b9aae5c93e17
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc
index 12aa15207c..4520f9b3e3 100644
--- a/compiler/optimizing/code_generator.cc
+++ b/compiler/optimizing/code_generator.cc
@@ -111,7 +111,7 @@ static bool CheckTypeConsistency(HInstruction* instruction) {
<< " " << locations->Out();
}
- auto&& inputs = instruction->GetInputs();
+ HConstInputsRef inputs = instruction->GetInputs();
for (size_t i = 0; i < inputs.size(); ++i) {
DCHECK(CheckType(inputs[i]->GetType(), locations->InAt(i)))
<< inputs[i]->GetType() << " " << locations->InAt(i);