Title: [247801] trunk/Source/_javascript_Core
- Revision
- 247801
- Author
- [email protected]
- Date
- 2019-07-24 17:10:51 -0700 (Wed, 24 Jul 2019)
Log Message
Remove some unused code.
https://bugs.webkit.org/show_bug.cgi?id=200101
Reviewed by Yusuke Suzuki.
* heap/MarkedBlock.cpp:
(JSC::MarkedBlock::Handle::zap): Deleted.
* heap/MarkedBlock.h:
* heap/SlotVisitor.cpp:
(JSC::SlotVisitor::appendToMutatorMarkStack): Deleted.
* heap/SlotVisitor.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (247800 => 247801)
--- trunk/Source/_javascript_Core/ChangeLog 2019-07-24 23:51:24 UTC (rev 247800)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-07-25 00:10:51 UTC (rev 247801)
@@ -1,5 +1,19 @@
2019-07-24 Mark Lam <[email protected]>
+ Remove some unused code.
+ https://bugs.webkit.org/show_bug.cgi?id=200101
+
+ Reviewed by Yusuke Suzuki.
+
+ * heap/MarkedBlock.cpp:
+ (JSC::MarkedBlock::Handle::zap): Deleted.
+ * heap/MarkedBlock.h:
+ * heap/SlotVisitor.cpp:
+ (JSC::SlotVisitor::appendToMutatorMarkStack): Deleted.
+ * heap/SlotVisitor.h:
+
+2019-07-24 Mark Lam <[email protected]>
+
performJITMemcpy should be PACed with a non-zero diversifier when passed and called via a pointer.
https://bugs.webkit.org/show_bug.cgi?id=200100
<rdar://problem/53474939>
Modified: trunk/Source/_javascript_Core/heap/MarkedBlock.cpp (247800 => 247801)
--- trunk/Source/_javascript_Core/heap/MarkedBlock.cpp 2019-07-24 23:51:24 UTC (rev 247800)
+++ trunk/Source/_javascript_Core/heap/MarkedBlock.cpp 2019-07-25 00:10:51 UTC (rev 247801)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2018 Apple Inc. All rights reserved.
+ * Copyright (C) 2011-2019 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -205,15 +205,6 @@
sweep(&freeList);
}
-void MarkedBlock::Handle::zap(const FreeList& freeList)
-{
- freeList.forEach(
- [&] (HeapCell* cell) {
- if (m_attributes.destruction == NeedsDestruction)
- cell->zap();
- });
-}
-
void MarkedBlock::aboutToMarkSlow(HeapVersion markingVersion)
{
ASSERT(vm()->heap.objectSpace().isMarking());
Modified: trunk/Source/_javascript_Core/heap/MarkedBlock.h (247800 => 247801)
--- trunk/Source/_javascript_Core/heap/MarkedBlock.h 2019-07-24 23:51:24 UTC (rev 247800)
+++ trunk/Source/_javascript_Core/heap/MarkedBlock.h 2019-07-25 00:10:51 UTC (rev 247801)
@@ -1,7 +1,7 @@
/*
* Copyright (C) 1999-2000 Harri Porten ([email protected])
* Copyright (C) 2001 Peter Kelly ([email protected])
- * Copyright (C) 2003-2018 Apple Inc. All rights reserved.
+ * Copyright (C) 2003-2019 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -146,8 +146,6 @@
void unsweepWithNoNewlyAllocated();
- void zap(const FreeList&);
-
void shrink();
void visitWeakSet(SlotVisitor&);
Modified: trunk/Source/_javascript_Core/heap/SlotVisitor.cpp (247800 => 247801)
--- trunk/Source/_javascript_Core/heap/SlotVisitor.cpp 2019-07-24 23:51:24 UTC (rev 247800)
+++ trunk/Source/_javascript_Core/heap/SlotVisitor.cpp 2019-07-25 00:10:51 UTC (rev 247801)
@@ -296,11 +296,6 @@
m_collectorStack.append(cell);
}
-void SlotVisitor::appendToMutatorMarkStack(const JSCell* cell)
-{
- m_mutatorStack.append(cell);
-}
-
void SlotVisitor::markAuxiliary(const void* base)
{
HeapCell* cell = bitwise_cast<HeapCell*>(base);
Modified: trunk/Source/_javascript_Core/heap/SlotVisitor.h (247800 => 247801)
--- trunk/Source/_javascript_Core/heap/SlotVisitor.h 2019-07-24 23:51:24 UTC (rev 247800)
+++ trunk/Source/_javascript_Core/heap/SlotVisitor.h 2019-07-25 00:10:51 UTC (rev 247801)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2018 Apple Inc. All rights reserved.
+ * Copyright (C) 2011-2019 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -211,8 +211,6 @@
template<typename ContainerType>
void appendToMarkStack(ContainerType&, JSCell*);
- void appendToMutatorMarkStack(const JSCell*);
-
void noteLiveAuxiliaryCell(HeapCell*);
void visitChildren(const JSCell*);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes