Changeset 252347 in webkit


Ignore:
Timestamp:
Nov 11, 2019 5:18:48 PM (4 years ago)
Author:
ysuzuki@apple.com
Message:

Unreviewed, fix incorrect assertion
https://bugs.webkit.org/show_bug.cgi?id=201908

  • heap/PreciseAllocation.cpp:

(JSC::PreciseAllocation::reuseForLowerTier):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r252341 r252347  
     12019-11-11  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        Unreviewed, fix incorrect assertion
     4        https://bugs.webkit.org/show_bug.cgi?id=201908
     5
     6        * heap/PreciseAllocation.cpp:
     7        (JSC::PreciseAllocation::reuseForLowerTier):
     8
    192019-11-11  Yusuke Suzuki  <ysuzuki@apple.com>
    210
  • trunk/Source/JavaScriptCore/heap/PreciseAllocation.cpp

    r252341 r252347  
    158158
    159159    void* space = basePointer;
    160     ASSERT(isAlignedForPreciseAllocation(basePointer) == adjustedAlignment);
     160    ASSERT((!isAlignedForPreciseAllocation(basePointer)) == adjustedAlignment);
    161161    if (adjustedAlignment)
    162162        space = bitwise_cast<void*>(bitwise_cast<uintptr_t>(basePointer) + halfAlignment);
Note: See TracChangeset for help on using the changeset viewer.