[Webkit-unassigned] [Bug 96924] New: Get rid of the inline reserveAndCommit() implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 17 08:19:01 PDT 2012


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

           Summary: Get rid of the inline reserveAndCommit()
                    implementation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yoli at rim.com


Both OSAllocatorPosix.cpp and OSAllocatorWin.cpp provide the implementation of reserveAndCommit(), but we also have an inline version in OSAllocator.h:

inline void* OSAllocator::reserveAndCommit(size_t reserveSize, size_t commitSize, Usage usage, bool writable, bool executable)
{
    void* base = reserveUncommitted(reserveSize, usage, writable, executable);
    commit(base, commitSize, writable, executable);
    return base;
}


I don't know why this even compile...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list