8024095: Missing brackets in local scheduling code.
authoradlertz
Mon, 02 Sep 2013 22:44:57 +0200
changeset 19724 1e308c6b0de3
parent 19723 79c3f91dc0fa
child 19725 68b03cf81206
child 19767 13d8c1ce7ac7
8024095: Missing brackets in local scheduling code. Summary: Added brackets for if-statement Reviewed-by: kvn, roland
hotspot/src/share/vm/opto/lcm.cpp
--- a/hotspot/src/share/vm/opto/lcm.cpp	Mon Sep 02 13:13:45 2013 +0200
+++ b/hotspot/src/share/vm/opto/lcm.cpp	Mon Sep 02 22:44:57 2013 +0200
@@ -550,11 +550,12 @@
   Node* call = NULL;
   for (DUIterator_Fast imax, i = this_call->fast_outs(imax); i < imax; i++) {
     Node* m = this_call->fast_out(i);
-    if(get_block_for_node(m) == block && // Local-block user
+    if (get_block_for_node(m) == block && // Local-block user
         m != this_call &&       // Not self-start node
-        m->is_MachCall() )
+        m->is_MachCall()) {
       call = m;
       break;
+    }
   }
   if (call == NULL)  return;    // No next call (e.g., block end is near)
   // Set next-call for all inputs to this call