Title: [241781] trunk/Source/_javascript_Core
Revision
241781
Author
[email protected]
Date
2019-02-19 15:17:17 -0800 (Tue, 19 Feb 2019)

Log Message

CachedCall should not consider it UNLIKELY that it will not stack overflow
https://bugs.webkit.org/show_bug.cgi?id=194831

Reviewed by Mark Lam.

* interpreter/CachedCall.h:
(JSC::CachedCall::CachedCall):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (241780 => 241781)


--- trunk/Source/_javascript_Core/ChangeLog	2019-02-19 23:07:52 UTC (rev 241780)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-02-19 23:17:17 UTC (rev 241781)
@@ -1,3 +1,13 @@
+2019-02-19  Robin Morisset  <[email protected]>
+
+        CachedCall should not consider it UNLIKELY that it will not stack overflow
+        https://bugs.webkit.org/show_bug.cgi?id=194831
+
+        Reviewed by Mark Lam.
+
+        * interpreter/CachedCall.h:
+        (JSC::CachedCall::CachedCall):
+
 2019-02-19  Mark Lam  <[email protected]>
 
         Fix DFG doesGC() for TryGetById and ProfileType nodes.

Modified: trunk/Source/_javascript_Core/interpreter/CachedCall.h (241780 => 241781)


--- trunk/Source/_javascript_Core/interpreter/CachedCall.h	2019-02-19 23:07:52 UTC (rev 241780)
+++ trunk/Source/_javascript_Core/interpreter/CachedCall.h	2019-02-19 23:17:17 UTC (rev 241781)
@@ -49,7 +49,7 @@
             auto scope = DECLARE_THROW_SCOPE(vm);
 
             ASSERT(!function->isHostFunctionNonInline());
-            if (UNLIKELY(vm.isSafeToRecurseSoft())) {
+            if (LIKELY(vm.isSafeToRecurseSoft())) {
                 m_arguments.ensureCapacity(argumentCount);
                 if (LIKELY(!m_arguments.hasOverflowed()))
                     m_closure = m_interpreter->prepareForRepeatCall(function->jsExecutable(), callFrame, &m_protoCallFrame, function, argumentCount + 1, function->scope(), m_arguments);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to