Title: [110582] trunk/Source/_javascript_Core
- Revision
- 110582
- Author
- [email protected]
- Date
- 2012-03-13 11:10:40 -0700 (Tue, 13 Mar 2012)
Log Message
Remove SlotVisitor::copy() method.
https://bugs.webkit.org/show_bug.cgi?id=80973
Patch by Kwonjin Jeong <[email protected]> on 2012-03-13
Reviewed by Geoffrey Garen.
SlotVisitor::copy() method isn't called anywhere.
* heap/MarkStack.cpp: Remove definition of SlotVisitor::copy() method.
* heap/SlotVisitor.h: Remove declaration of SlotVisitor::copy() method.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (110581 => 110582)
--- trunk/Source/_javascript_Core/ChangeLog 2012-03-13 18:05:47 UTC (rev 110581)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-03-13 18:10:40 UTC (rev 110582)
@@ -1,3 +1,15 @@
+2012-03-13 Kwonjin Jeong <[email protected]>
+
+ Remove SlotVisitor::copy() method.
+ https://bugs.webkit.org/show_bug.cgi?id=80973
+
+ Reviewed by Geoffrey Garen.
+
+ SlotVisitor::copy() method isn't called anywhere.
+
+ * heap/MarkStack.cpp: Remove definition of SlotVisitor::copy() method.
+ * heap/SlotVisitor.h: Remove declaration of SlotVisitor::copy() method.
+
2012-03-12 Hojong Han <[email protected]>
Fix test cases for RegExp multiline
Modified: trunk/Source/_javascript_Core/heap/MarkStack.cpp (110581 => 110582)
--- trunk/Source/_javascript_Core/heap/MarkStack.cpp 2012-03-13 18:05:47 UTC (rev 110581)
+++ trunk/Source/_javascript_Core/heap/MarkStack.cpp 2012-03-13 18:10:40 UTC (rev 110582)
@@ -486,16 +486,6 @@
return CopiedSpace::allocateFromBlock(m_copyBlock, bytes);
}
-void SlotVisitor::copy(void** ptr, size_t bytes)
-{
- void* newPtr = 0;
- if (!(newPtr = allocateNewSpace(*ptr, bytes)))
- return;
-
- memcpy(newPtr, *ptr, bytes);
- *ptr = newPtr;
-}
-
void SlotVisitor::copyAndAppend(void** ptr, size_t bytes, JSValue* values, unsigned length)
{
void* oldPtr = *ptr;
Modified: trunk/Source/_javascript_Core/heap/SlotVisitor.h (110581 => 110582)
--- trunk/Source/_javascript_Core/heap/SlotVisitor.h 2012-03-13 18:05:47 UTC (rev 110581)
+++ trunk/Source/_javascript_Core/heap/SlotVisitor.h 2012-03-13 18:10:40 UTC (rev 110582)
@@ -62,7 +62,6 @@
void finalizeUnconditionalFinalizers();
void startCopying();
- void copy(void**, size_t);
void copyAndAppend(void**, size_t, JSValue*, unsigned);
void doneCopying();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes