Changeset 213229 in webkit


Ignore:
Timestamp:
Mar 1, 2017 10:18:04 AM (7 years ago)
Author:
mark.lam@apple.com
Message:

REGRESSION (r213202?): Assertion failed: (!"initialized()"), function operator()
https://bugs.webkit.org/show_bug.cgi?id=169042

Reviewed by Filip Pizlo.

  • runtime/JSLock.h:

(JSC::JSLock::currentThreadIsHoldingLock):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r213228 r213229  
     12017-03-01  Mark Lam  <mark.lam@apple.com>
     2
     3        REGRESSION (r213202?): Assertion failed: (!"initialized()"), function operator()
     4        https://bugs.webkit.org/show_bug.cgi?id=169042
     5
     6        Reviewed by Filip Pizlo.
     7
     8        * runtime/JSLock.h:
     9        (JSC::JSLock::currentThreadIsHoldingLock):
     10
    1112017-02-28  Brian Burg  <bburg@apple.com>
    212
  • trunk/Source/JavaScriptCore/runtime/JSLock.h

    r213202 r213229  
    9595
    9696    std::optional<PlatformThread> ownerThread() const { return m_ownerThread; }
    97     bool currentThreadIsHoldingLock() { return m_ownerThread == currentPlatformThread(); }
     97    bool currentThreadIsHoldingLock() { return m_ownerThread && m_ownerThread == currentPlatformThread(); }
    9898
    9999    void willDestroyVM(VM*);
Note: See TracChangeset for help on using the changeset viewer.