Title: [253260] trunk/Source/_javascript_Core
- Revision
- 253260
- Author
- [email protected]
- Date
- 2019-12-07 12:16:10 -0800 (Sat, 07 Dec 2019)
Log Message
Remove invalid assertion in FTL's allocateJSArray().
https://bugs.webkit.org/show_bug.cgi?id=204987
<rdar://problem/57280725>
Reviewed by Saam Barati.
The assertion (in the compiler thread) does not take into account that the mutator
may be in the process of transiting to HavingABadTime. As a result, the assertion
may fail intermittently. This patch fixes this issue by removing this bad
assertion.
* ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::allocateJSArray):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (253259 => 253260)
--- trunk/Source/_javascript_Core/ChangeLog 2019-12-07 19:53:13 UTC (rev 253259)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-12-07 20:16:10 UTC (rev 253260)
@@ -1,5 +1,21 @@
2019-12-07 Mark Lam <[email protected]>
+ Remove invalid assertion in FTL's allocateJSArray().
+ https://bugs.webkit.org/show_bug.cgi?id=204987
+ <rdar://problem/57280725>
+
+ Reviewed by Saam Barati.
+
+ The assertion (in the compiler thread) does not take into account that the mutator
+ may be in the process of transiting to HavingABadTime. As a result, the assertion
+ may fail intermittently. This patch fixes this issue by removing this bad
+ assertion.
+
+ * ftl/FTLLowerDFGToB3.cpp:
+ (JSC::FTL::DFG::LowerDFGToB3::allocateJSArray):
+
+2019-12-07 Mark Lam <[email protected]>
+
Build fix for: The compiler thread should not adjust Identifier refCounts.
https://bugs.webkit.org/show_bug.cgi?id=204919
<rdar://problem/57426861>
Modified: trunk/Source/_javascript_Core/ftl/FTLLowerDFGToB3.cpp (253259 => 253260)
--- trunk/Source/_javascript_Core/ftl/FTLLowerDFGToB3.cpp 2019-12-07 19:53:13 UTC (rev 253259)
+++ trunk/Source/_javascript_Core/ftl/FTLLowerDFGToB3.cpp 2019-12-07 20:16:10 UTC (rev 253260)
@@ -14349,15 +14349,6 @@
ArrayValues allocateJSArray(LValue publicLength, LValue vectorLength, LValue structure, LValue indexingType, bool shouldInitializeElements = true, bool shouldLargeArraySizeCreateArrayStorage = true)
{
JSGlobalObject* globalObject = m_graph.globalObjectFor(m_node->origin.semantic);
- if (indexingType->hasInt32()) {
- IndexingType type = static_cast<IndexingType>(indexingType->asInt32());
- ASSERT_UNUSED(type,
- hasUndecided(type)
- || hasInt32(type)
- || hasDouble(type)
- || hasContiguous(type));
- }
-
LBasicBlock fastCase = m_out.newBlock();
LBasicBlock largeCase = m_out.newBlock();
LBasicBlock failCase = m_out.newBlock();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes