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

Changeset 204066 in webkit


Ignore:
Timestamp:
Aug 2, 2016, 10:33:48 PM (10 years ago)
Author:
benjamin@webkit.org
Message:

[JSC] Fix 32bits jsc after r204065

Default constructed JSValue() are not equal to zero in 32bits.

  • dfg/DFGAbstractValue.h:

(JSC::DFG::AbstractValue::AbstractValue):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r204065 r204066  
     12016-08-02  Benjamin Poulain  <benjamin@webkit.org>
     2
     3        [JSC] Fix 32bits jsc after r204065
     4
     5        Default constructed JSValue() are not equal to zero in 32bits.
     6
     7        * dfg/DFGAbstractValue.h:
     8        (JSC::DFG::AbstractValue::AbstractValue):
     9
    1102016-08-02  Benjamin Poulain  <benjamin@webkit.org>
    211
  • trunk/Source/JavaScriptCore/dfg/DFGAbstractValue.h

    r204065 r204066  
    5656        , m_arrayModes(0)
    5757    {
    58 #ifndef NDEBUG
     58#if USE(JSVALUE64) && !defined(NDEBUG)
    5959        // The WTF Traits for AbstractValue allow the initialization of values with bzero().
    6060        // We verify the correctness of this assumption here.
     
    468468} } // namespace JSC::DFG
    469469
     470#if USE(JSVALUE64)
    470471namespace WTF {
    471472template <>
     
    479480};
    480481};
     482#endif // USE(JSVALUE64)
    481483
    482484#endif // ENABLE(DFG_JIT)
Note: See TracChangeset for help on using the changeset viewer.