DFGAllocator should use bmalloc's aligned allocator.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Mar 2015 21:19:32 +0000 (21:19 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Mar 2015 21:19:32 +0000 (21:19 +0000)
commit5ff3737ab8e39a8a1de42a36faa7d0525e0ce75f
treeae0e42f015e942607974452c0fbc393cbfaa3d8d
parentdd52eec3eb7eea6242bf6e01bb75f0d03ec49da5
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGAllocator.h
Source/JavaScriptCore/heap/CopiedSpace.h
Source/JavaScriptCore/heap/MarkedBlock.h
Source/JavaScriptCore/heap/MarkedSpace.h
Source/WTF/ChangeLog
Source/WTF/WTF.vcxproj/WTF.vcxproj
Source/WTF/WTF.vcxproj/WTF.vcxproj.filters
Source/WTF/WTF.xcodeproj/project.pbxproj
Source/WTF/wtf/CMakeLists.txt
Source/WTF/wtf/PageAllocationAligned.cpp [deleted file]
Source/WTF/wtf/PageAllocationAligned.h [deleted file]