Skip to content
Permalink
Browse files
2010-10-19 Csaba Osztrogonác <ossy@webkit.org>
        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.


Canonical link: https://commits.webkit.org/60652@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
ossy-szeged committed Oct 19, 2010
1 parent 81d1d95 commit ba9c9b2c867c528331cc8ca5de180468cc26291e
Showing 2 changed files with 16 additions and 0 deletions.
@@ -1,3 +1,13 @@
2010-10-19 Csaba Osztrogonác <ossy@webkit.org>

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.

2010-10-19 Kwang Yul Seo <skyul@company100.net>

Reviewed by David Kilzer.
@@ -312,6 +312,9 @@ BytecodeGenerator::BytecodeGenerator(FunctionBodyNode* functionBody, const Debug
, m_lastLazyFunction(0)
, m_globalData(&scopeChain.globalObject()->globalExec()->globalData())
, m_lastOpcodeID(op_end)
#ifndef NDEBUG
, m_lastOpcodePosition(0)
#endif
, m_emitNodeDepth(0)
, m_usesExceptions(false)
, m_regeneratingForExceptionInfo(false)
@@ -474,6 +477,9 @@ BytecodeGenerator::BytecodeGenerator(EvalNode* evalNode, const Debugger* debugge
, m_lastLazyFunction(0)
, m_globalData(&scopeChain.globalObject()->globalExec()->globalData())
, m_lastOpcodeID(op_end)
#ifndef NDEBUG
, m_lastOpcodePosition(0)
#endif
, m_emitNodeDepth(0)
, m_usesExceptions(false)
, m_regeneratingForExceptionInfo(false)

0 comments on commit ba9c9b2

Please sign in to comment.