Ignore:
Timestamp:
Apr 6, 2012, 3:35:55 PM (13 years ago)
Author:
[email protected]
Message:

Renamed

WeakHeap => WeakSet
HandleHeap => HandleSet

Reviewed by Sam Weinig.

These sets do have internal allocators, but it's confusing to call them
heaps because they're sub-objects of an object called "heap".

  • heap/HandleHeap.cpp: Removed.
  • heap/HandleHeap.h: Removed.
  • heap/HandleSet.cpp: Copied from JavaScriptCore/heap/HandleHeap.cpp.
  • heap/WeakHeap.cpp: Removed.
  • heap/WeakHeap.h: Removed.
  • heap/WeakSet.cpp: Copied from JavaScriptCore/heap/WeakHeap.cpp.
  • heap/WeakSet.h: Copied from JavaScriptCore/heap/WeakHeap.h.

Plus global rename using grep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/heap/PassWeak.h

    r113209 r113508  
    148148
    149149template<typename T> inline PassWeak<T>::PassWeak(JSGlobalData& globalData, typename PassWeak<T>::GetType getType, WeakHandleOwner* weakOwner, void* context)
    150     : m_impl(globalData.heap.weakHeap()->allocate(getType, weakOwner, context))
     150    : m_impl(globalData.heap.weakSet()->allocate(getType, weakOwner, context))
    151151{
    152152}
     
    166166    if (!m_impl)
    167167        return;
    168     WeakHeap::deallocate(m_impl);
     168    WeakSet::deallocate(m_impl);
    169169}
    170170
Note: See TracChangeset for help on using the changeset viewer.