Bug 1011355 (part 3) - Tiny FreeSpan tweaks. r=billm.

--HG--
extra : rebase_source : 739e5104bee8ea878d5c8e421d7cd6cfd095c2da
This commit is contained in:
Nicholas Nethercote 2014-05-15 22:16:27 -07:00
parent ea70beb0f9
commit 0032128ea4

View File

@ -156,8 +156,6 @@ class FreeSpan
uintptr_t last;
public:
FreeSpan() {}
// This inits just |first| and |last|; if the span is non-empty it doesn't
// do anything with the next span stored at |last|.
void initBoundsUnchecked(uintptr_t first, uintptr_t last) {
@ -236,6 +234,7 @@ class FreeSpan
return false;
}
private:
// Some callers can pass in |thingSize| easily, and we can do stronger
// checking in that case.
void checkSpan(size_t thingSize = 0) const {