summaryrefslogtreecommitdiff
path: root/js/src/gc/Heap.h
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@protonmail.com>2023-01-25 19:39:25 +0800
committerJob Bautista <jobbautista9@protonmail.com>2023-01-26 15:26:32 +0800
commit523201f3e491f7a21e3f7401ce904404d7d468cb (patch)
tree4280cfb3fcf0e6725e95f3b44e8834cdd8a035a5 /js/src/gc/Heap.h
parent997616e30830e6e2c030e7cfc9ca78c0606529eb (diff)
downloaduxp-523201f3e491f7a21e3f7401ce904404d7d468cb.tar.gz
Issue #2083 - Part 4: Give RegExpShared a finalizer.
Based on Mozilla bug 1345177.
Diffstat (limited to 'js/src/gc/Heap.h')
-rw-r--r--js/src/gc/Heap.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/src/gc/Heap.h b/js/src/gc/Heap.h
index ef9f30d096..371e4119f9 100644
--- a/js/src/gc/Heap.h
+++ b/js/src/gc/Heap.h
@@ -338,9 +338,6 @@ class TenuredCell : public Cell
static MOZ_ALWAYS_INLINE void writeBarrierPost(void* cellp, TenuredCell* prior,
TenuredCell* next);
- // Default implementation for kinds that don't require finalization.
- void finalize(FreeOp* fop) {}
-
// Default implementation for kinds that don't require fixup.
void fixupAfterMovingGC() {}