Changeset 70090 in webkit


Ignore:
Timestamp:
Oct 19, 2010 2:42:19 PM (14 years ago)
Author:
Csaba Osztrogonác
Message:

2010-10-19 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Geoffrey Garen.

BytecodeGenerator::m_lastOpcodePosition must be initialized in all constructors
https://bugs.webkit.org/show_bug.cgi?id=47920

  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::BytecodeGenerator): Add missing member initialization.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r70076 r70090  
     12010-10-19  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Reviewed by Geoffrey Garen.
     4
     5        BytecodeGenerator::m_lastOpcodePosition must be initialized in all constructors
     6        https://bugs.webkit.org/show_bug.cgi?id=47920
     7
     8        * bytecompiler/BytecodeGenerator.cpp:
     9        (JSC::BytecodeGenerator::BytecodeGenerator): Add missing member initialization.
     10
    1112010-10-19  Kwang Yul Seo  <skyul@company100.net>
    212
  • trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

    r69940 r70090  
    313313    , m_globalData(&scopeChain.globalObject()->globalExec()->globalData())
    314314    , m_lastOpcodeID(op_end)
     315#ifndef NDEBUG
     316    , m_lastOpcodePosition(0)
     317#endif
    315318    , m_emitNodeDepth(0)
    316319    , m_usesExceptions(false)
     
    475478    , m_globalData(&scopeChain.globalObject()->globalExec()->globalData())
    476479    , m_lastOpcodeID(op_end)
     480#ifndef NDEBUG
     481    , m_lastOpcodePosition(0)
     482#endif
    477483    , m_emitNodeDepth(0)
    478484    , m_usesExceptions(false)
Note: See TracChangeset for help on using the changeset viewer.