Changeset 247801 in webkit
- Timestamp:
- Jul 24, 2019 5:10:51 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r247799 r247801 1 2019-07-24 Mark Lam <mark.lam@apple.com> 2 3 Remove some unused code. 4 https://bugs.webkit.org/show_bug.cgi?id=200101 5 6 Reviewed by Yusuke Suzuki. 7 8 * heap/MarkedBlock.cpp: 9 (JSC::MarkedBlock::Handle::zap): Deleted. 10 * heap/MarkedBlock.h: 11 * heap/SlotVisitor.cpp: 12 (JSC::SlotVisitor::appendToMutatorMarkStack): Deleted. 13 * heap/SlotVisitor.h: 14 1 15 2019-07-24 Mark Lam <mark.lam@apple.com> 2 16 -
trunk/Source/JavaScriptCore/heap/MarkedBlock.cpp
r244939 r247801 1 1 /* 2 * Copyright (C) 2011-201 8Apple Inc. All rights reserved.2 * Copyright (C) 2011-2019 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 204 204 // freelist, in which case the block will still be Marked! 205 205 sweep(&freeList); 206 }207 208 void MarkedBlock::Handle::zap(const FreeList& freeList)209 {210 freeList.forEach(211 [&] (HeapCell* cell) {212 if (m_attributes.destruction == NeedsDestruction)213 cell->zap();214 });215 206 } 216 207 -
trunk/Source/JavaScriptCore/heap/MarkedBlock.h
r244506 r247801 2 2 * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) 3 3 * Copyright (C) 2001 Peter Kelly (pmk@post.com) 4 * Copyright (C) 2003-201 8Apple Inc. All rights reserved.4 * Copyright (C) 2003-2019 Apple Inc. All rights reserved. 5 5 * 6 6 * This library is free software; you can redistribute it and/or … … 146 146 147 147 void unsweepWithNoNewlyAllocated(); 148 149 void zap(const FreeList&);150 148 151 149 void shrink(); -
trunk/Source/JavaScriptCore/heap/SlotVisitor.cpp
r243467 r247801 297 297 } 298 298 299 void SlotVisitor::appendToMutatorMarkStack(const JSCell* cell)300 {301 m_mutatorStack.append(cell);302 }303 304 299 void SlotVisitor::markAuxiliary(const void* base) 305 300 { -
trunk/Source/JavaScriptCore/heap/SlotVisitor.h
r245808 r247801 1 1 /* 2 * Copyright (C) 2011-201 8Apple Inc. All rights reserved.2 * Copyright (C) 2011-2019 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 212 212 void appendToMarkStack(ContainerType&, JSCell*); 213 213 214 void appendToMutatorMarkStack(const JSCell*);215 216 214 void noteLiveAuxiliaryCell(HeapCell*); 217 215
Note: See TracChangeset
for help on using the changeset viewer.