Title: [190679] trunk/Source/_javascript_Core
- Revision
- 190679
- Author
- [email protected]
- Date
- 2015-10-07 12:41:28 -0700 (Wed, 07 Oct 2015)
Log Message
Heap::isWriteBarrierEnabled is unused
https://bugs.webkit.org/show_bug.cgi?id=149881
Patch by Joseph Pecoraro <[email protected]> on 2015-10-07
Reviewed by Geoffrey Garen.
* heap/Heap.h:
* heap/HeapInlines.h:
(JSC::Heap::isWriteBarrierEnabled): Deleted.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (190678 => 190679)
--- trunk/Source/_javascript_Core/ChangeLog 2015-10-07 19:40:17 UTC (rev 190678)
+++ trunk/Source/_javascript_Core/ChangeLog 2015-10-07 19:41:28 UTC (rev 190679)
@@ -1,3 +1,14 @@
+2015-10-07 Joseph Pecoraro <[email protected]>
+
+ Heap::isWriteBarrierEnabled is unused
+ https://bugs.webkit.org/show_bug.cgi?id=149881
+
+ Reviewed by Geoffrey Garen.
+
+ * heap/Heap.h:
+ * heap/HeapInlines.h:
+ (JSC::Heap::isWriteBarrierEnabled): Deleted.
+
2015-10-07 Filip Pizlo <[email protected]>
JIT::emitGetGlobalProperty/emitPutGlobalProperty are only called from one place
Modified: trunk/Source/_javascript_Core/heap/Heap.h (190678 => 190679)
--- trunk/Source/_javascript_Core/heap/Heap.h 2015-10-07 19:40:17 UTC (rev 190678)
+++ trunk/Source/_javascript_Core/heap/Heap.h 2015-10-07 19:41:28 UTC (rev 190679)
@@ -102,7 +102,6 @@
static bool testAndSetMarked(const void*);
static void setMarked(const void*);
- static bool isWriteBarrierEnabled();
void writeBarrier(const JSCell*);
void writeBarrier(const JSCell*, JSValue);
void writeBarrier(const JSCell*, JSCell*);
Modified: trunk/Source/_javascript_Core/heap/HeapInlines.h (190678 => 190679)
--- trunk/Source/_javascript_Core/heap/HeapInlines.h 2015-10-07 19:40:17 UTC (rev 190678)
+++ trunk/Source/_javascript_Core/heap/HeapInlines.h 2015-10-07 19:41:28 UTC (rev 190679)
@@ -85,11 +85,6 @@
MarkedBlock::blockFor(cell)->setMarked(cell);
}
-inline bool Heap::isWriteBarrierEnabled()
-{
- return true;
-}
-
inline void Heap::writeBarrier(const JSCell* from, JSValue to)
{
#if ENABLE(WRITE_BARRIER_PROFILING)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes