Changeset 286996 in webkit
- Timestamp:
- Dec 13, 2021, 5:00:15 PM (5 years ago)
- Location:
- branches/safari-613.1.11-branch/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
runtime/StructureChain.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-613.1.11-branch/Source/JavaScriptCore/ChangeLog
r286502 r286996 1 2021-12-13 Alan Coon <alancoon@apple.com> 2 3 Revert r286382. rdar://problem/86408710 4 1 5 2021-12-03 Keith Miller <keith_miller@apple.com> 2 6 -
branches/safari-613.1.11-branch/Source/JavaScriptCore/runtime/StructureChain.cpp
r286387 r286996 50 50 size_t bytes = Checked<size_t>(size) * sizeof(StructureID); 51 51 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");53 52 memset(vector, 0, bytes); 54 53 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.