VM: the else clause is not necessary

char-rename
Björn Lindqvist 2016-11-15 05:57:40 +01:00
parent b89a305ef7
commit 5f869f8181
1 changed files with 4 additions and 6 deletions

View File

@ -118,11 +118,10 @@ struct mark_bits {
cell clear_bit = rightmost_clear_bit(mask);
return line_block(index * mark_bits_granularity + bit_index +
clear_bit);
} else {
}
// No unmarked blocks on this page. Keep looking
bit_index = 0;
}
}
// No unmarked blocks were found
return this->start + this->size;
@ -138,11 +137,10 @@ struct mark_bits {
// Found an marked block on this page. Stop, it's hammer time
cell set_bit = rightmost_set_bit(mask);
return line_block(index * mark_bits_granularity + bit_index + set_bit);
} else {
}
// No marked blocks on this page. Keep looking
bit_index = 0;
}
}
// No marked blocks were found
return this->start + this->size;