Title: [241809] releases/WebKitGTK/webkit-2.24/Source/_javascript_Core
Revision
241809
Author
carlo...@webkit.org
Date
2019-02-20 04:45:12 -0800 (Wed, 20 Feb 2019)

Log Message

Merge r241781 - 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: releases/WebKitGTK/webkit-2.24/Source/_javascript_Core/ChangeLog (241808 => 241809)


--- releases/WebKitGTK/webkit-2.24/Source/_javascript_Core/ChangeLog	2019-02-20 12:45:08 UTC (rev 241808)
+++ releases/WebKitGTK/webkit-2.24/Source/_javascript_Core/ChangeLog	2019-02-20 12:45:12 UTC (rev 241809)
@@ -1,3 +1,13 @@
+2019-02-19  Robin Morisset  <rmoris...@apple.com>
+
+        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  <mark....@apple.com>
 
         Fix DFG doesGC() for TryGetById and ProfileType nodes.

Modified: releases/WebKitGTK/webkit-2.24/Source/_javascript_Core/interpreter/CachedCall.h (241808 => 241809)


--- releases/WebKitGTK/webkit-2.24/Source/_javascript_Core/interpreter/CachedCall.h	2019-02-20 12:45:08 UTC (rev 241808)
+++ releases/WebKitGTK/webkit-2.24/Source/_javascript_Core/interpreter/CachedCall.h	2019-02-20 12:45:12 UTC (rev 241809)
@@ -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
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to