8162427: fix indent in CompileTask::print_tty
authortwisti
Fri, 22 Jul 2016 12:47:08 -1000
changeset 40084 98825f02aa8d
parent 40083 17565e6c55a0
child 40085 ab996eefa57d
8162427: fix indent in CompileTask::print_tty Reviewed-by: kvn
hotspot/src/share/vm/compiler/compileTask.cpp
--- a/hotspot/src/share/vm/compiler/compileTask.cpp	Mon Jul 18 20:45:51 2016 +0200
+++ b/hotspot/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);
 }
 
 // ------------------------------------------------------------------