Title: [291752] trunk/Source/_javascript_Core
Revision
291752
Author
ysuz...@apple.com
Date
2022-03-23 10:58:27 -0700 (Wed, 23 Mar 2022)

Log Message

Unreviewed, fix DataIC's slowPathJump handling
https://bugs.webkit.org/show_bug.cgi?id=231224

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileInById):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (291751 => 291752)


--- trunk/Source/_javascript_Core/ChangeLog	2022-03-23 17:56:45 UTC (rev 291751)
+++ trunk/Source/_javascript_Core/ChangeLog	2022-03-23 17:58:27 UTC (rev 291752)
@@ -1,3 +1,11 @@
+2022-03-23  Yusuke Suzuki  <ysuz...@apple.com>
+
+        Unreviewed, fix DataIC's slowPathJump handling
+        https://bugs.webkit.org/show_bug.cgi?id=231224
+
+        * dfg/DFGSpeculativeJIT.cpp:
+        (JSC::DFG::SpeculativeJIT::compileInById):
+
 2022-03-23  Patrick Angle  <pan...@apple.com>
 
         No breakpoints hit on github.com, and some are invalid

Modified: trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT.cpp (291751 => 291752)


--- trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT.cpp	2022-03-23 17:56:45 UTC (rev 291751)
+++ trunk/Source/_javascript_Core/dfg/DFGSpeculativeJIT.cpp	2022-03-23 17:58:27 UTC (rev 291752)
@@ -1365,7 +1365,8 @@
     gen.generateFastPath(m_jit, scratchGPR);
 
     JITCompiler::JumpList slowCases;
-    slowCases.append(gen.slowPathJump());
+    if (!JITCode::useDataIC(JITType::DFGJIT))
+        slowCases.append(gen.slowPathJump());
 
     std::unique_ptr<SlowPathGenerator> slowPath;
     if (JITCode::useDataIC(JITType::DFGJIT)) {
@@ -15847,7 +15848,8 @@
     JITCompiler::JumpList slowCases;
     if (slowPathTarget.isSet())
         slowCases.append(slowPathTarget);
-    slowCases.append(gen.slowPathJump());
+    if (!JITCode::useDataIC(JITType::DFGJIT))
+        slowCases.append(gen.slowPathJump());
 
     std::unique_ptr<SlowPathGenerator> slowPath;
     if (JITCode::useDataIC(JITType::DFGJIT)) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to