From d19dc4688b5b93f149d45435deb0a67217464e37 Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Tue, 19 Apr 2016 18:17:41 +0100 Subject: [PATCH] Fix comparison in profile saver Bug: 27893309 Change-Id: I076a20413cffc69ca9e562fb4fc75615fead7690 --- runtime/jit/profile_saver.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/jit/profile_saver.cc b/runtime/jit/profile_saver.cc index 201e4c71c..949215af8 100644 --- a/runtime/jit/profile_saver.cc +++ b/runtime/jit/profile_saver.cc @@ -271,10 +271,10 @@ static bool ShouldProfileLocation(const std::string& location) { return true; } CompilerFilter::Filter filter = oat_file->GetCompilerFilter(); - if (filter == CompilerFilter::kSpeed || CompilerFilter::kEverything) { + if ((filter == CompilerFilter::kSpeed) || (filter == CompilerFilter::kEverything)) { VLOG(profiler) - << "Skip profiling oat file because it's already speed|everything compiled:" - << location; + << "Skip profiling oat file because it's already speed|everything compiled: " + << location << " oat location: " << oat_file->GetLocation(); return false; } return true; -- 2.11.0