Changeset 110582 in webkit


Ignore:
Timestamp:
Mar 13, 2012 11:10:40 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Remove SlotVisitor::copy() method.
https://bugs.webkit.org/show_bug.cgi?id=80973

Patch by Kwonjin Jeong <gram@company100.net> 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.
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r110540 r110582  
     12012-03-13  Kwonjin Jeong  <gram@company100.net>
     2
     3        Remove SlotVisitor::copy() method.
     4        https://bugs.webkit.org/show_bug.cgi?id=80973
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        SlotVisitor::copy() method isn't called anywhere.
     9
     10        * heap/MarkStack.cpp: Remove definition of SlotVisitor::copy() method.
     11        * heap/SlotVisitor.h: Remove declaration of SlotVisitor::copy() method.
     12
    1132012-03-12  Hojong Han  <hojong.han@samsung.com>
    214
  • 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{
  • trunk/Source/JavaScriptCore/heap/SlotVisitor.h

    r108107 r110582  
    6363
    6464    void startCopying();
    65     void copy(void**, size_t);
    6665    void copyAndAppend(void**, size_t, JSValue*, unsigned);
    6766    void doneCopying();
Note: See TracChangeset for help on using the changeset viewer.