changeset 11732:95a1164892be

8162427: fix indent in CompileTask::print_tty Reviewed-by: kvn
author twisti
date Fri, 22 Jul 2016 12:47:08 -1000
parents 243c7d6885d9
children 141333057d89
files src/share/vm/compiler/compileTask.cpp
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/compiler/compileTask.cpp	Mon Jul 18 20:45:51 2016 +0200
+++ b/src/share/vm/compiler/compileTask.cpp	Fri Jul 22 12:47:08 2016 -1000
@@ -186,8 +186,10 @@
 void CompileTask::print_tty() {
   ttyLocker ttyl;  // keep the following output all in one block
   // print compiler name if requested
-  if (CIPrintCompilerName) tty->print("%s:", CompileBroker::compiler_name(comp_level()));
-    print(tty);
+  if (CIPrintCompilerName) {
+    tty->print("%s:", CompileBroker::compiler_name(comp_level()));
+  }
+  print(tty);
 }
 
 // ------------------------------------------------------------------