commit | e90049140fdfb89080e5cc9b000b0c9be8c18bcd | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Jun 16 16:50:52 2016 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Fri Jul 01 13:26:24 2016 +0100 |
tree | 66b45c052b6778fabd7847a44af5e610808fa867 | |
parent | a77ceae14a7be2494874d9256327efa8c522e234 [diff] [blame] |
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
diff --git a/compiler/optimizing/graph_visualizer.cc b/compiler/optimizing/graph_visualizer.cc index 4af8d19..9d67373 100644 --- a/compiler/optimizing/graph_visualizer.cc +++ b/compiler/optimizing/graph_visualizer.cc
@@ -511,7 +511,7 @@ void PrintInstruction(HInstruction* instruction) { output_ << instruction->DebugName(); - auto&& inputs = instruction->GetInputs(); + HConstInputsRef inputs = instruction->GetInputs(); if (!inputs.empty()) { StringList input_list; for (const HInstruction* input : inputs) {