Skip to content
Permalink
Browse files
8279533: Bad indentation and missing curly braces in BlockBegin::set_end
Reviewed-by: shade
  • Loading branch information
LudwikJaniuk authored and shipilev committed Jan 5, 2022
1 parent 523300e commit ab490534a1d14ad48ceb532ec1673ca9636f552d
Showing 1 changed file with 4 additions and 3 deletions.
@@ -529,9 +529,10 @@ void BlockBegin::set_end(BlockEnd* new_end) { // Assumes that no predecessor of
if (new_end == _end) return;

// Remove this block as predecessor of its current successors
if (_end != NULL)
for (int i = 0; i < number_of_sux(); i++) {
sux_at(i)->remove_predecessor(this);
if (_end != NULL) {
for (int i = 0; i < number_of_sux(); i++) {
sux_at(i)->remove_predecessor(this);
}
}

_end = new_end;

1 comment on commit ab49053

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on ab49053 Jan 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.