From e90049140fdfb89080e5cc9b000b0c9be8c18bcd Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 16 Jun 2016 16:50:52 +0100 Subject: 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 --- compiler/optimizing/pretty_printer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/pretty_printer.h') diff --git a/compiler/optimizing/pretty_printer.h b/compiler/optimizing/pretty_printer.h index f9bef6809f..5891350894 100644 --- a/compiler/optimizing/pretty_printer.h +++ b/compiler/optimizing/pretty_printer.h @@ -39,7 +39,7 @@ class HPrettyPrinter : public HGraphVisitor { } void PrintPostInstruction(HInstruction* instruction) { - auto&& inputs = instruction->GetInputs(); + HConstInputsRef inputs = instruction->GetInputs(); if (!inputs.empty()) { PrintString("("); bool first = true; -- cgit v1.2.3-59-g8ed1b