Changeset 199339 in webkit


Ignore:
Timestamp:
Apr 12, 2016, 12:29:35 AM (9 years ago)
Author:
achristensen@apple.com
Message:

Build fix after r199299.
https://bugs.webkit.org/show_bug.cgi?id=155508

  • jit/ExecutableAllocatorFixedVMPool.cpp:

(JSC::FixedVMPoolExecutableAllocator::initializeSeparatedWXHeaps):
memset_s is not defined. STDC_WANT_LIB_EXT1 is not defined anywhere.
Since the return value is unused and set_constraint_handler_s is never called
I'm chaning it to memset.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r199337 r199339  
     12016-04-12  Alex Christensen  <achristensen@webkit.org>
     2
     3        Build fix after r199299.
     4        https://bugs.webkit.org/show_bug.cgi?id=155508
     5
     6        * jit/ExecutableAllocatorFixedVMPool.cpp:
     7        (JSC::FixedVMPoolExecutableAllocator::initializeSeparatedWXHeaps):
     8        memset_s is not defined.  __STDC_WANT_LIB_EXT1__ is not defined anywhere.
     9        Since the return value is unused and set_constraint_handler_s is never called
     10        I'm chaning it to memset.
     11
    1122016-04-11  Benjamin Poulain  <bpoulain@apple.com>
    213
  • trunk/Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp

    r199299 r199339  
    211211
    212212        // Zero out writableAddr to avoid leaking the address of the writable mapping.
    213         memset_s(&writableAddr, sizeof(writableAddr), 0, sizeof(writableAddr));
     213        memset(&writableAddr, 0, sizeof(writableAddr));
    214214
    215215        jitWriteFunction = reinterpret_cast<JITWriteFunction>(writeThunk.code().executableAddress());
Note: See TracChangeset for help on using the changeset viewer.