Title: [207064] releases/WebKitGTK/webkit-2.14/Source/WTF
Revision
207064
Author
carlo...@webkit.org
Date
2016-10-11 01:09:25 -0700 (Tue, 11 Oct 2016)

Log Message

Merge r205740 - Gardening: fixing a few JSC test failures.
https://bugs.webkit.org/show_bug.cgi?id=161760

Not reviewed.

Without this fix, the following tests will crash on a null dereference of isGCThread.
    stress/slow-path-generator-updating-current-node-dfg.js.misc-ftl-no-cjit
    stress/unshift-array-storage.js.misc-ftl-no-cjit

* wtf/MainThread.cpp:
(WTF::mayBeGCThread):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.14/Source/WTF/ChangeLog (207063 => 207064)


--- releases/WebKitGTK/webkit-2.14/Source/WTF/ChangeLog	2016-10-11 08:08:39 UTC (rev 207063)
+++ releases/WebKitGTK/webkit-2.14/Source/WTF/ChangeLog	2016-10-11 08:09:25 UTC (rev 207064)
@@ -1,3 +1,17 @@
+2016-09-09  Mark Lam  <mark....@apple.com>
+
+        Gardening: fixing a few JSC test failures.
+        https://bugs.webkit.org/show_bug.cgi?id=161760
+
+        Not reviewed.
+
+        Without this fix, the following tests will crash on a null dereference of isGCThread.
+            stress/slow-path-generator-updating-current-node-dfg.js.misc-ftl-no-cjit
+            stress/unshift-array-storage.js.misc-ftl-no-cjit
+
+        * wtf/MainThread.cpp:
+        (WTF::mayBeGCThread):
+
 2016-09-08  Yusuke Suzuki  <utatane....@gmail.com>
 
         [WTF] HashTable's rehash is not compatible to Ref<T> and ASan

Modified: releases/WebKitGTK/webkit-2.14/Source/WTF/wtf/MainThread.cpp (207063 => 207064)


--- releases/WebKitGTK/webkit-2.14/Source/WTF/wtf/MainThread.cpp	2016-10-11 08:08:39 UTC (rev 207063)
+++ releases/WebKitGTK/webkit-2.14/Source/WTF/wtf/MainThread.cpp	2016-10-11 08:09:25 UTC (rev 207064)
@@ -218,7 +218,7 @@
 
 bool mayBeGCThread()
 {
-    return isGCThread->isSet() && **isGCThread;
+    return isGCThread && isGCThread->isSet() && **isGCThread;
 }
 
 } // namespace WTF
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to