Ignore:
Timestamp:
Sep 13, 2010, 1:58:13 AM (15 years ago)
Author:
[email protected]
Message:

2010-09-13 Kwang Yul Seo <[email protected]>

Reviewed by Kent Tamura.

[BREWMP] Don't call _msize
https://bugs.webkit.org/show_bug.cgi?id=45556

Because Brew MP uses its own memory allocator, it is not correct to use
_msize in fastMallocSize. Add !PLATFORM(BREWMP) guard.

  • wtf/FastMalloc.cpp: (WTF::fastMallocSize):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/FastMalloc.cpp

    r66883 r67371  
    385385#if OS(DARWIN)
    386386    return malloc_size(p);
    387 #elif COMPILER(MSVC)
     387#elif COMPILER(MSVC) && !PLATFORM(BREWMP)
     388    // Brew MP uses its own memory allocator, so _msize does not work on the Brew MP simulator.
    388389    return _msize(const_cast<void*>(p));
    389390#else
Note: See TracChangeset for help on using the changeset viewer.