diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2019-04-30 02:20:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-30 02:20:36 +0300 |
commit | 9fb6b925fb249d3dd9f467142410a2e605736784 (patch) | |
tree | 4fe192f0d9063c092eb86675eb8b448b167595bd /js/src/gc/Zone.cpp | |
parent | 0e70828f2c84cc0ac9afd85d14eb30b5fc8358dd (diff) | |
download | UXP-9fb6b925fb249d3dd9f467142410a2e605736784.tar UXP-9fb6b925fb249d3dd9f467142410a2e605736784.tar.gz UXP-9fb6b925fb249d3dd9f467142410a2e605736784.tar.lz UXP-9fb6b925fb249d3dd9f467142410a2e605736784.tar.xz UXP-9fb6b925fb249d3dd9f467142410a2e605736784.zip |
tab to spaces js/src/gc
Diffstat (limited to 'js/src/gc/Zone.cpp')
-rw-r--r-- | js/src/gc/Zone.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/js/src/gc/Zone.cpp b/js/src/gc/Zone.cpp index 7681f15c5..f0cdde012 100644 --- a/js/src/gc/Zone.cpp +++ b/js/src/gc/Zone.cpp @@ -373,18 +373,18 @@ Zone::fixupAfterMovingGC() bool Zone::addTypeDescrObject(JSContext* cx, HandleObject obj) { - // Type descriptor objects are always tenured so we don't need post barriers - // on the set. - MOZ_ASSERT(!IsInsideNursery(obj)); - - if (!typeDescrObjects.put(obj)) { - ReportOutOfMemory(cx); - return false; - } - - return true; -} - + // Type descriptor objects are always tenured so we don't need post barriers + // on the set. + MOZ_ASSERT(!IsInsideNursery(obj)); + + if (!typeDescrObjects.put(obj)) { + ReportOutOfMemory(cx); + return false; + } + + return true; +} + ZoneList::ZoneList() : head(nullptr), tail(nullptr) {} |