Changeset 287003 in webkit
- Timestamp:
- Dec 13, 2021, 7:27:43 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
r286996 r287003 1 2021-12-13 Alan Coon <alancoon@apple.com>2 3 Revert r286382. rdar://problem/864087104 5 1 2021-12-03 Keith Miller <keith_miller@apple.com> 6 2 -
branches/safari-613.1.11-branch/Source/JavaScriptCore/runtime/StructureChain.cpp
r286996 r287003 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"); 52 53 memset(vector, 0, bytes); 53 54 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.