Ignore:
Timestamp:
Mar 13, 2012, 11:10:40 AM (13 years ago)
Author:
[email protected]
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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/heap/MarkStack.cpp

    r108444 r110582  
    487487}
    488488
    489 void SlotVisitor::copy(void** ptr, size_t bytes)
    490 {
    491     void* newPtr = 0;
    492     if (!(newPtr = allocateNewSpace(*ptr, bytes)))
    493         return;
    494 
    495     memcpy(newPtr, *ptr, bytes);
    496     *ptr = newPtr;
    497 }
    498 
    499489void SlotVisitor::copyAndAppend(void** ptr, size_t bytes, JSValue* values, unsigned length)
    500490{
Note: See TracChangeset for help on using the changeset viewer.