From bc1d78daa463572c5a770cdca858a3b51d8e1b7b Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Thu, 30 Jul 2015 16:39:45 -0700 Subject: runtime: cleanup class_linker out-parameters and formatting * Use out instead of parameters * Fixes up some other signatures to be more correct * Reformat parameters to be one per line if they can't fit on one line * Reformat locks to be one per line if they can't fit on the decl line Change-Id: Ib71b08707d3ed0bb85299406c0b23a1de4e92a1c --- runtime/art_method.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/art_method.cc') diff --git a/runtime/art_method.cc b/runtime/art_method.cc index 17c9fe4149..f37e0407ca 100644 --- a/runtime/art_method.cc +++ b/runtime/art_method.cc @@ -19,6 +19,7 @@ #include "arch/context.h" #include "art_field-inl.h" #include "art_method-inl.h" +#include "base/out.h" #include "base/stringpiece.h" #include "dex_file-inl.h" #include "dex_instruction.h" @@ -565,7 +566,7 @@ bool ArtMethod::EqualParameters(Handle> param const uint8_t* ArtMethod::GetQuickenedInfo() { bool found = false; OatFile::OatMethod oat_method = - Runtime::Current()->GetClassLinker()->FindOatMethodFor(this, &found); + Runtime::Current()->GetClassLinker()->FindOatMethodFor(this, outof(found)); if (!found || (oat_method.GetQuickCode() != nullptr)) { return nullptr; } -- cgit v1.2.3-59-g8ed1b