Changeset 37804 in webkit for trunk/JavaScriptCore/masm


Ignore:
Timestamp:
Oct 22, 2008, 8:36:04 PM (17 years ago)
Author:
[email protected]
Message:

Really "fix" CTI mode on windows 2k3.

Reviewed my Maciej Stachowiak

This adds new methods fastMallocExecutable and fastFreeExecutable
to wrap allocation for cti code. This still just makes fastMalloc
return executable memory all the time, which will be fixed in a
later patch.

However in windows debug builds all executable allocations will be
allocated on separate executable pages, which should resolve any
remaining 2k3 issues. Conveniently the 2k3 bot will now also fail
if there are any fastFree vs. fastFreeExecutable errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/masm/X86Assembler.h

    r37670 r37804  
    3131#include <wtf/Assertions.h>
    3232#include <wtf/AlwaysInline.h>
     33#include <wtf/FastMalloc.h>
     34
    3335#if HAVE(MMAN)
    3436#include <sys/mman.h>
     
    124126            return 0;
    125127
    126         void* result = fastMalloc(m_index);
     128        void* result = WTF::fastMallocExecutable(m_index);
    127129
    128130        if (!result)
Note: See TracChangeset for help on using the changeset viewer.