diff options
Diffstat (limited to 'Source/JavaScriptCore/heap/WeakSetInlines.h')
-rw-r--r-- | Source/JavaScriptCore/heap/WeakSetInlines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/heap/WeakSetInlines.h b/Source/JavaScriptCore/heap/WeakSetInlines.h index 0515904fc..6e2420c45 100644 --- a/Source/JavaScriptCore/heap/WeakSetInlines.h +++ b/Source/JavaScriptCore/heap/WeakSetInlines.h @@ -32,7 +32,7 @@ namespace JSC { inline WeakImpl* WeakSet::allocate(JSValue jsValue, WeakHandleOwner* weakHandleOwner, void* context) { - WeakSet& weakSet = *Heap::heap(jsValue.asCell())->weakSet(); + WeakSet& weakSet = MarkedBlock::blockFor(jsValue.asCell())->weakSet(); WeakBlock::FreeCell* allocator = weakSet.m_allocator; if (UNLIKELY(!allocator)) allocator = weakSet.findAllocator(); |