Ignore:
Timestamp:
Aug 30, 2006, 11:45:07 AM (19 years ago)
Author:
ggaren
Message:

JavaScriptCore:

Reviewed, tweaked by ggaren.


  • kjs/ExecState.cpp: (KJS::ExecState::ExecState):
  • kjs/ExecState.h:
  • kjs/context.h: (KJS::Context::setExecState): (KJS::Context::execState):

LayoutTests:

Reviewed by ggaren.

WebCore:

Reviewed, tweaked by ggaren.


File:
1 edited

Legend:

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

    r15846 r16117  
    8383  if (exec->hadException())
    8484    newExec.setException(exec->exception());
     85  ctx.setExecState(&newExec);
    8586
    8687  // assign user supplied arguments to parameters
     
    819820                       EvalCode,
    820821                       exec->context());
    821        
    822822        ExecState newExec(exec->dynamicInterpreter(), &ctx);
    823823        if (exec->hadException())
    824824            newExec.setException(exec->exception());
     825        ctx.setExecState(&newExec);
    825826       
    826827        // execute the code
Note: See TracChangeset for help on using the changeset viewer.