[scudo] Simplify markFreeBlocks
With memory group, we always mark the free blocks from the same region. Therefore, we don't need to calculate the offset from base and determine the region index. Also improve the way we deal with the last block in the region so that the loop body is simpler. Reviewed By: cferris Differential Revision: https://reviews.llvm.org/D143303
Loading
Please register or sign in to comment