Ignore:
Timestamp:
Oct 26, 2007, 3:36:45 AM (18 years ago)
Author:
mjs
Message:

Windows build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/interpreter.cpp

    r27097 r27100  
    8383
    8484Interpreter::Interpreter(JSGlobalObject* globalObject)
    85     : m_globalExec(this, 0)
     85    : m_currentExec(0)
    8686    , m_globalObject(globalObject)
     87    , m_globalExec(this, globalObject, globalObject, 0)
    8788{
    8889    init();
     
    9091
    9192Interpreter::Interpreter()
    92     : m_globalExec(this, 0)
     93    : m_currentExec(0)
    9394    , m_globalObject(new JSGlobalObject())
     95    , m_globalExec(this, m_globalObject, m_globalObject, 0)
    9496{
    9597    init();
     
    104106    m_recursion = 0;
    105107    m_debugger= 0;
    106     m_context = 0;
    107108
    108109    resetTimeoutCheck();
     
    362363    else {
    363364        // execute the code
    364         Context ctx(globalObj, this, thisObj, progNode.get());
    365         ExecState newExec(this, &ctx);
    366         ctx.setExecState(&newExec);
     365        ExecState newExec(this, globalObj, thisObj, progNode.get());
    367366        res = progNode->execute(&newExec);
    368367    }
     
    538537void Interpreter::mark()
    539538{
    540     if (m_context)
    541         m_context->mark();
     539    if (m_currentExec)
     540        m_currentExec->mark();
    542541
    543542    if (m_globalExec.exception() && !m_globalExec.exception()->marked())
Note: See TracChangeset for help on using the changeset viewer.