Title: [252347] trunk/Source/_javascript_Core
- Revision
- 252347
- Author
- [email protected]
- Date
- 2019-11-11 17:18:48 -0800 (Mon, 11 Nov 2019)
Log Message
Unreviewed, fix incorrect assertion
https://bugs.webkit.org/show_bug.cgi?id=201908
* heap/PreciseAllocation.cpp:
(JSC::PreciseAllocation::reuseForLowerTier):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (252346 => 252347)
--- trunk/Source/_javascript_Core/ChangeLog 2019-11-12 01:04:57 UTC (rev 252346)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-11-12 01:18:48 UTC (rev 252347)
@@ -1,5 +1,13 @@
2019-11-11 Yusuke Suzuki <[email protected]>
+ Unreviewed, fix incorrect assertion
+ https://bugs.webkit.org/show_bug.cgi?id=201908
+
+ * heap/PreciseAllocation.cpp:
+ (JSC::PreciseAllocation::reuseForLowerTier):
+
+2019-11-11 Yusuke Suzuki <[email protected]>
+
Unreviewed, fix alignment adjustment when reusing PreciseAllocation
https://bugs.webkit.org/show_bug.cgi?id=201908
Modified: trunk/Source/_javascript_Core/heap/PreciseAllocation.cpp (252346 => 252347)
--- trunk/Source/_javascript_Core/heap/PreciseAllocation.cpp 2019-11-12 01:04:57 UTC (rev 252346)
+++ trunk/Source/_javascript_Core/heap/PreciseAllocation.cpp 2019-11-12 01:18:48 UTC (rev 252347)
@@ -157,7 +157,7 @@
this->~PreciseAllocation();
void* space = basePointer;
- ASSERT(isAlignedForPreciseAllocation(basePointer) == adjustedAlignment);
+ ASSERT((!isAlignedForPreciseAllocation(basePointer)) == adjustedAlignment);
if (adjustedAlignment)
space = bitwise_cast<void*>(bitwise_cast<uintptr_t>(basePointer) + halfAlignment);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes