Mercurial > hg > graal-compiler
changeset 12174:a9a968364704
8024095: Missing brackets in local scheduling code.
Summary: Added brackets for if-statement
Reviewed-by: kvn, roland
author | adlertz |
---|---|
date | Mon, 02 Sep 2013 22:44:57 +0200 |
parents | 27ffd1c4537b |
children | 3bfb204913de ceda33ff54a3 |
files | src/share/vm/opto/lcm.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp Mon Sep 02 13:13:45 2013 +0200 +++ b/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