Ignore:
Timestamp:
Mar 19, 2015, 2:19:32 PM (10 years ago)
Author:
[email protected]
Message:

DFGAllocator should use bmalloc's aligned allocator.
<https://webkit.org/b/142871>

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Switch DFGAllocator to using bmalloc through fastAlignedMalloc().

  • dfg/DFGAllocator.h:

(JSC::DFG::Allocator<T>::allocateSlow):
(JSC::DFG::Allocator<T>::freeRegionsStartingAt):

  • heap/CopiedSpace.h:
  • heap/MarkedBlock.h:
  • heap/MarkedSpace.h:

Source/WTF:

Remove PageAllocationAligned since it has no more clients.

  • WTF.vcxproj/WTF.vcxproj:
  • WTF.vcxproj/WTF.vcxproj.filters:
  • WTF.xcodeproj/project.pbxproj:
  • wtf/CMakeLists.txt:
  • wtf/PageAllocationAligned.cpp: Removed.
  • wtf/PageAllocationAligned.h: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.