hotspot/src/share/vm/opto/bytecodeInfo.cpp
changeset 30305 b92a97e1e9cb
parent 29582 9a0bb63adf5a
child 33069 d8eed614f298
--- a/hotspot/src/share/vm/opto/bytecodeInfo.cpp	Wed Apr 22 19:10:03 2015 +0300
+++ b/hotspot/src/share/vm/opto/bytecodeInfo.cpp	Mon Apr 27 10:49:43 2015 +0200
@@ -631,11 +631,11 @@
   }
   int max_inline_level_adjust = 0;
   if (caller_jvms->method() != NULL) {
-    if (caller_jvms->method()->is_compiled_lambda_form())
+    if (caller_jvms->method()->is_compiled_lambda_form()) {
       max_inline_level_adjust += 1;  // don't count actions in MH or indy adapter frames
-    else if (callee_method->is_method_handle_intrinsic() ||
-             callee_method->is_compiled_lambda_form()) {
-      max_inline_level_adjust += 1;  // don't count method handle calls from java.lang.invoke implem
+    } else if (callee_method->is_method_handle_intrinsic() ||
+               callee_method->is_compiled_lambda_form()) {
+      max_inline_level_adjust += 1;  // don't count method handle calls from java.lang.invoke implementation
     }
     if (max_inline_level_adjust != 0 && C->print_inlining() && (Verbose || WizardMode)) {
       CompileTask::print_inline_indent(inline_level());