⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 246572 in webkit


Ignore:
Timestamp:
Jun 18, 2019, 3:24:44 PM (7 years ago)
Author:
keith_miller@apple.com
Message:

Unreviewed, fix signature of currentWeakRefVersion to return an uintptr_t.

  • runtime/VM.h:

(JSC::VM::currentWeakRefVersion const):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r246571 r246572  
     12019-06-18  Keith Miller  <keith_miller@apple.com>
     2
     3        Unreviewed, fix signature of currentWeakRefVersion to return an uintptr_t.
     4
     5        * runtime/VM.h:
     6        (JSC::VM::currentWeakRefVersion const):
     7
    182019-06-18  Justin Michaud  <justin_michaud@apple.com>
    29
  • trunk/Source/JavaScriptCore/runtime/VM.h

    r246565 r246572  
    891891    void setOnEachMicrotaskTick(WTF::Function<void(VM&)>&& func) { m_onEachMicrotaskTick = WTFMove(func); }
    892892    void finalizeSynchronousJSExecution() { ASSERT(currentThreadIsHoldingAPILock()); m_currentWeakRefVersion++; }
    893     uint64_t currentWeakRefVersion() const { return m_currentWeakRefVersion; }
     893    uintptr_t currentWeakRefVersion() const { return m_currentWeakRefVersion; }
    894894
    895895    void setGlobalConstRedeclarationShouldThrow(bool globalConstRedeclarationThrow) { m_globalConstRedeclarationShouldThrow = globalConstRedeclarationThrow; }
Note: See TracChangeset for help on using the changeset viewer.