summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler_stats.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-03-29 21:09:10 -0700
committerAndreas Gampe <agampe@google.com>2018-03-29 21:09:10 -0700
commite2ac8d7c310acfcb4b8ed5018472910e991bdae3 (patch)
tree24074c3dc09b362c03a81c8e35b5644ac4f85c49 /compiler/optimizing/optimizing_compiler_stats.h
parent7da5cea7288cd2dc412b1ea3568a800baeab778e (diff)
ART: Remove logging restriction
The compiler stats have their own dex2oat parameter, the restriction to debug build or verbose logging is antiquated. Test: m Change-Id: Idcbe5753bb2149a9694e39d7fa6ba7902e9c7810
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
-rw-r--r--compiler/optimizing/optimizing_compiler_stats.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h
index e0a9cfb934..9a26f2f6c4 100644
--- a/compiler/optimizing/optimizing_compiler_stats.h
+++ b/compiler/optimizing/optimizing_compiler_stats.h
@@ -125,11 +125,6 @@ class OptimizingCompilerStats {
}
void Log() const {
- if (!kIsDebugBuild && !VLOG_IS_ON(compiler)) {
- // Log only in debug builds or if the compiler is verbose.
- return;
- }
-
uint32_t compiled_intrinsics = GetStat(MethodCompilationStat::kCompiledIntrinsic);
uint32_t compiled_native_stubs = GetStat(MethodCompilationStat::kCompiledNativeStub);
uint32_t bytecode_attempts =