Changeset 205740 in webkit


Ignore:
Timestamp:
Sep 9, 2016 5:54:12 AM (8 years ago)
Author:
mark.lam@apple.com
Message:

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):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r205694 r205740  
     12016-09-09  Mark Lam  <mark.lam@apple.com>
     2
     3        Gardening: fixing a few JSC test failures.
     4        https://bugs.webkit.org/show_bug.cgi?id=161760
     5
     6        Not reviewed.
     7
     8        Without this fix, the following tests will crash on a null dereference of isGCThread.
     9            stress/slow-path-generator-updating-current-node-dfg.js.misc-ftl-no-cjit
     10            stress/unshift-array-storage.js.misc-ftl-no-cjit
     11
     12        * wtf/MainThread.cpp:
     13        (WTF::mayBeGCThread):
     14
    1152016-09-08  Yusuke Suzuki  <utatane.tea@gmail.com>
    216
  • trunk/Source/WTF/wtf/MainThread.cpp

    r205683 r205740  
    219219bool mayBeGCThread()
    220220{
    221     return isGCThread->isSet() && **isGCThread;
     221    return isGCThread && isGCThread->isSet() && **isGCThread;
    222222}
    223223
Note: See TracChangeset for help on using the changeset viewer.