Mon, 02 Sep 2013 22:44:57 +0200
8024095: Missing brackets in local scheduling code.
Summary: Added brackets for if-statement
Reviewed-by: kvn, roland
src/share/vm/opto/lcm.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/opto/lcm.cpp Mon Sep 02 13:13:45 2013 +0200 1.2 +++ b/src/share/vm/opto/lcm.cpp Mon Sep 02 22:44:57 2013 +0200 1.3 @@ -550,11 +550,12 @@ 1.4 Node* call = NULL; 1.5 for (DUIterator_Fast imax, i = this_call->fast_outs(imax); i < imax; i++) { 1.6 Node* m = this_call->fast_out(i); 1.7 - if(get_block_for_node(m) == block && // Local-block user 1.8 + if (get_block_for_node(m) == block && // Local-block user 1.9 m != this_call && // Not self-start node 1.10 - m->is_MachCall() ) 1.11 + m->is_MachCall()) { 1.12 call = m; 1.13 break; 1.14 + } 1.15 } 1.16 if (call == NULL) return; // No next call (e.g., block end is near) 1.17 // Set next-call for all inputs to this call