8202552: [AOT][JVMCI] Incorrect usage of INCLUDE_JVMCI and INCLUDE_AOT

Reviewed-by: stefank, ihse
This commit is contained in:
Vladimir Kozlov 2018-05-03 09:07:40 -07:00
parent 6a12519d84
commit 8ebfc59cfa
8 changed files with 27 additions and 28 deletions

View file

@ -267,17 +267,17 @@ void print_statistics() {
IndexSet::print_statistics();
}
#endif // ASSERT
#else
#ifdef INCLUDE_JVMCI
#else // COMPILER2
#if INCLUDE_JVMCI
#ifndef COMPILER1
if ((TraceDeoptimization || LogVMOutput || LogCompilation) && UseCompiler) {
FlagSetting fs(DisplayVMOutput, DisplayVMOutput && TraceDeoptimization);
Deoptimization::print_statistics();
SharedRuntime::print_statistics();
}
#endif
#endif
#endif
#endif // COMPILER1
#endif // INCLUDE_JVMCI
#endif // COMPILER2
if (PrintAOTStatistics) {
AOTLoader::print_statistics();