Title: [131215] trunk/Source/_javascript_Core
- Revision
- 131215
- Author
- [email protected]
- Date
- 2012-10-12 12:52:31 -0700 (Fri, 12 Oct 2012)
Log Message
Build fix after r131213
Removed an unused variable that was making compilers unhappy.
* heap/GCThread.cpp:
(JSC::GCThread::GCThread):
* heap/GCThread.h:
(GCThread):
* heap/GCThreadSharedData.cpp:
(JSC::GCThreadSharedData::GCThreadSharedData):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (131214 => 131215)
--- trunk/Source/_javascript_Core/ChangeLog 2012-10-12 19:48:38 UTC (rev 131214)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-10-12 19:52:31 UTC (rev 131215)
@@ -1,3 +1,16 @@
+2012-10-12 Mark Hahnenberg <[email protected]>
+
+ Build fix after r131213
+
+ Removed an unused variable that was making compilers unhappy.
+
+ * heap/GCThread.cpp:
+ (JSC::GCThread::GCThread):
+ * heap/GCThread.h:
+ (GCThread):
+ * heap/GCThreadSharedData.cpp:
+ (JSC::GCThreadSharedData::GCThreadSharedData):
+
2012-10-09 Mark Hahnenberg <[email protected]>
Copying collection shouldn't require O(live bytes) memory overhead
Modified: trunk/Source/_javascript_Core/heap/GCThread.cpp (131214 => 131215)
--- trunk/Source/_javascript_Core/heap/GCThread.cpp 2012-10-12 19:48:38 UTC (rev 131214)
+++ trunk/Source/_javascript_Core/heap/GCThread.cpp 2012-10-12 19:52:31 UTC (rev 131215)
@@ -35,12 +35,11 @@
namespace JSC {
-GCThread::GCThread(GCThreadSharedData& shared, SlotVisitor* slotVisitor, CopyVisitor* copyVisitor, size_t index)
+GCThread::GCThread(GCThreadSharedData& shared, SlotVisitor* slotVisitor, CopyVisitor* copyVisitor)
: m_threadID(0)
, m_shared(shared)
, m_slotVisitor(WTF::adoptPtr(slotVisitor))
, m_copyVisitor(WTF::adoptPtr(copyVisitor))
- , m_index(index)
{
}
Modified: trunk/Source/_javascript_Core/heap/GCThread.h (131214 => 131215)
--- trunk/Source/_javascript_Core/heap/GCThread.h 2012-10-12 19:48:38 UTC (rev 131214)
+++ trunk/Source/_javascript_Core/heap/GCThread.h 2012-10-12 19:52:31 UTC (rev 131215)
@@ -39,7 +39,7 @@
class GCThread {
public:
- GCThread(GCThreadSharedData&, SlotVisitor*, CopyVisitor*, size_t);
+ GCThread(GCThreadSharedData&, SlotVisitor*, CopyVisitor*);
SlotVisitor* slotVisitor();
CopyVisitor* copyVisitor();
@@ -56,7 +56,6 @@
GCThreadSharedData& m_shared;
OwnPtr<SlotVisitor> m_slotVisitor;
OwnPtr<CopyVisitor> m_copyVisitor;
- size_t m_index;
};
} // namespace JSC
Modified: trunk/Source/_javascript_Core/heap/GCThreadSharedData.cpp (131214 => 131215)
--- trunk/Source/_javascript_Core/heap/GCThreadSharedData.cpp 2012-10-12 19:48:38 UTC (rev 131214)
+++ trunk/Source/_javascript_Core/heap/GCThreadSharedData.cpp 2012-10-12 19:52:31 UTC (rev 131215)
@@ -70,8 +70,7 @@
for (unsigned i = 1; i < Options::numberOfGCMarkers(); ++i) {
SlotVisitor* slotVisitor = new SlotVisitor(*this);
CopyVisitor* copyVisitor = new CopyVisitor(*this);
- size_t index = m_gcThreads.size();
- GCThread* newThread = new GCThread(*this, slotVisitor, copyVisitor, index);
+ GCThread* newThread = new GCThread(*this, slotVisitor, copyVisitor);
ThreadIdentifier threadID = createThread(GCThread::gcThreadStartFunc, newThread, "_javascript_Core::Marking");
newThread->initializeThreadID(threadID);
m_gcThreads.append(newThread);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes