Title: [286996] branches/safari-613.1.11-branch/Source/_javascript_Core
Revision
286996
Author
[email protected]
Date
2021-12-13 17:00:15 -0800 (Mon, 13 Dec 2021)

Log Message

Revert r286382. rdar://problem/86408710

Modified Paths

Diff

Modified: branches/safari-613.1.11-branch/Source/_javascript_Core/ChangeLog (286995 => 286996)


--- branches/safari-613.1.11-branch/Source/_javascript_Core/ChangeLog	2021-12-14 00:44:36 UTC (rev 286995)
+++ branches/safari-613.1.11-branch/Source/_javascript_Core/ChangeLog	2021-12-14 01:00:15 UTC (rev 286996)
@@ -1,3 +1,7 @@
+2021-12-13  Alan Coon  <[email protected]>
+
+        Revert r286382. rdar://problem/86408710
+
 2021-12-03  Keith Miller  <[email protected]>
 
         Remove StructureIDBlob

Modified: branches/safari-613.1.11-branch/Source/_javascript_Core/runtime/StructureChain.cpp (286995 => 286996)


--- branches/safari-613.1.11-branch/Source/_javascript_Core/runtime/StructureChain.cpp	2021-12-14 00:44:36 UTC (rev 286995)
+++ branches/safari-613.1.11-branch/Source/_javascript_Core/runtime/StructureChain.cpp	2021-12-14 01:00:15 UTC (rev 286996)
@@ -49,7 +49,6 @@
     ++size; // Sentinel nullptr.
     size_t bytes = Checked<size_t>(size) * sizeof(StructureID);
     void* vector = vm.jsValueGigacageAuxiliarySpace().allocateNonVirtual(vm, bytes, nullptr, AllocationFailureMode::Assert);
-    static_assert(!StructureID().bits(), "Make sure the value we're going to memcpy below matches the default StructureID");
     memset(vector, 0, bytes);
     StructureChain* chain = new (NotNull, allocateCell<StructureChain>(vm)) StructureChain(vm, vm.structureChainStructure.get(), static_cast<StructureID*>(vector));
     chain->finishCreation(vm, head);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to