--- 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