Commit eb804561 authored by fpizlo@apple.com's avatar fpizlo@apple.com

FTL should use the new version of LLVM MCJIT memory manager APIs that take a SectionName

https://bugs.webkit.org/show_bug.cgi?id=122193

Source/JavaScriptCore: 

Reviewed by Geoffrey Garen.
        
Update our usage of the LLVM C API since the API is about to change.

* ftl/FTLCompile.cpp:
(JSC::FTL::mmAllocateCodeSection):
(JSC::FTL::mmAllocateDataSection):

WebKitLibraries: 

Reviewed by Geoffrey Garen.

* LLVMIncludesMountainLion.tar.bz2:
* LLVMLibrariesMountainLion.tar.bz2:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4d456e7b
2013-10-01 Filip Pizlo <fpizlo@apple.com>
FTL should use the new version of LLVM MCJIT memory manager APIs that take a SectionName
https://bugs.webkit.org/show_bug.cgi?id=122193
Reviewed by Geoffrey Garen.
Update our usage of the LLVM C API since the API is about to change.
* ftl/FTLCompile.cpp:
(JSC::FTL::mmAllocateCodeSection):
(JSC::FTL::mmAllocateDataSection):
2013-10-01 Filip Pizlo <fpizlo@apple.com>
REGRESSION(156464): 50% regression on SunSpider/string-fasta
......@@ -42,9 +42,11 @@ namespace JSC { namespace FTL {
using namespace DFG;
static uint8_t* mmAllocateCodeSection(
void* opaqueState, uintptr_t size, unsigned alignment, unsigned sectionID)
void* opaqueState, uintptr_t size, unsigned alignment, unsigned sectionID,
const char* sectionName)
{
UNUSED_PARAM(sectionID);
UNUSED_PARAM(sectionName);
State& state = *static_cast<State*>(opaqueState);
......@@ -61,13 +63,13 @@ static uint8_t* mmAllocateCodeSection(
static uint8_t* mmAllocateDataSection(
void* opaqueState, uintptr_t size, unsigned alignment, unsigned sectionID,
LLVMBool isReadOnly)
const char* sectionName, LLVMBool isReadOnly)
{
// FIXME: fourthTier: FTL memory allocator should be able to allocate data
// sections in non-executable memory.
// https://bugs.webkit.org/show_bug.cgi?id=116189
UNUSED_PARAM(isReadOnly);
return mmAllocateCodeSection(opaqueState, size, alignment, sectionID);
return mmAllocateCodeSection(opaqueState, size, alignment, sectionID, sectionName);
}
static LLVMBool mmApplyPermissions(void*, char**)
......
2013-10-01 Filip Pizlo <fpizlo@apple.com>
FTL should use the new version of LLVM MCJIT memory manager APIs that take a SectionName
https://bugs.webkit.org/show_bug.cgi?id=122193
Reviewed by Geoffrey Garen.
* LLVMIncludesMountainLion.tar.bz2:
* LLVMLibrariesMountainLion.tar.bz2:
2013-10-01 Brent Fulgham <bfulgham@apple.com>
[Win] Implement the media controls in JavaScript.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment