VM: the else clause is not necessary
parent
b89a305ef7
commit
5f869f8181
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue