summaryrefslogtreecommitdiffstats
path: root/js/src/jsgc.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-05-15 19:37:25 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-15 20:37:51 +0000
commit5fd4b87267ba8f3c667533b0336554a7cc008876 (patch)
tree19415ea47262a3f342870505c99e460735941165 /js/src/jsgc.cpp
parentd40bcc350ce47de4a92dd1dc7f7162dc1154678b (diff)
downloadUXP-5fd4b87267ba8f3c667533b0336554a7cc008876.tar
UXP-5fd4b87267ba8f3c667533b0336554a7cc008876.tar.gz
UXP-5fd4b87267ba8f3c667533b0336554a7cc008876.tar.lz
UXP-5fd4b87267ba8f3c667533b0336554a7cc008876.tar.xz
UXP-5fd4b87267ba8f3c667533b0336554a7cc008876.zip
Remove unboxed objects from GC
Diffstat (limited to 'js/src/jsgc.cpp')
-rw-r--r--js/src/jsgc.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp
index 194468c5d..b2ee8d67b 100644
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -6190,12 +6190,6 @@ gc::MergeCompartments(JSCompartment* source, JSCompartment* target)
for (auto group = source->zone()->cellIter<ObjectGroup>(); !group.done(); group.next()) {
group->setGeneration(target->zone()->types.generation);
group->compartment_ = target;
-
- // Remove any unboxed layouts from the list in the off thread
- // compartment. These do not need to be reinserted in the target
- // compartment's list, as the list is not required to be complete.
- if (UnboxedLayout* layout = group->maybeUnboxedLayoutDontCheckGeneration())
- layout->detachFromCompartment();
}
// Fixup zone pointers in source's zone to refer to target's zone.