⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 286996 in webkit


Ignore:
Timestamp:
Dec 13, 2021, 5:00:15 PM (5 years ago)
Author:
Russell Epstein
Message:

Revert r286382. rdar://problem/86408710

Location:
branches/safari-613.1.11-branch/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-613.1.11-branch/Source/JavaScriptCore/ChangeLog

    r286502 r286996  
     12021-12-13  Alan Coon  <alancoon@apple.com>
     2
     3        Revert r286382. rdar://problem/86408710
     4
    152021-12-03  Keith Miller  <keith_miller@apple.com>
    26
  • branches/safari-613.1.11-branch/Source/JavaScriptCore/runtime/StructureChain.cpp

    r286387 r286996  
    5050    size_t bytes = Checked<size_t>(size) * sizeof(StructureID);
    5151    void* vector = vm.jsValueGigacageAuxiliarySpace().allocateNonVirtual(vm, bytes, nullptr, AllocationFailureMode::Assert);
    52     static_assert(!StructureID().bits(), "Make sure the value we're going to memcpy below matches the default StructureID");
    5352    memset(vector, 0, bytes);
    5453    StructureChain* chain = new (NotNull, allocateCell<StructureChain>(vm)) StructureChain(vm, vm.structureChainStructure.get(), static_cast<StructureID*>(vector));
Note: See TracChangeset for help on using the changeset viewer.