diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-26 18:41:32 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-26 18:41:32 +0100 |
commit | 1e1525c44c23bde16102a64e685e02a9ab6825cc (patch) | |
tree | a2462a2f6278466e93ddedbf71983c325698933a /js/src/gc/Nursery.h | |
parent | e25ad543952b5afc13181aaebef9c5951fc27be0 (diff) | |
parent | eb77e289bbe056b58051db0fa868e95da803aa0a (diff) | |
download | UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.tar UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.tar.gz UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.tar.lz UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.tar.xz UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.zip |
Merge commit 'eb77e289bbe056b58051db0fa868e95da803aa0a' into Basilisk-release
Diffstat (limited to 'js/src/gc/Nursery.h')
-rw-r--r-- | js/src/gc/Nursery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/gc/Nursery.h b/js/src/gc/Nursery.h index 0d215d997..a839a4979 100644 --- a/js/src/gc/Nursery.h +++ b/js/src/gc/Nursery.h @@ -245,6 +245,7 @@ class Nursery // Free space remaining, not counting chunk trailers. MOZ_ALWAYS_INLINE size_t freeSpace() const { + MOZ_ASSERT(isEnabled()); MOZ_ASSERT(currentEnd_ - position_ <= NurseryChunkUsableSize); return (currentEnd_ - position_) + (numChunks() - currentChunk_ - 1) * NurseryChunkUsableSize; |