Ignore:
Timestamp:
Nov 21, 2002, 7:11:38 AM (23 years ago)
Author:
darin
Message:
  • fixed a null-dereference I ran into while trying to reproduce bug 3107351
  • kjs/function.h: Change ActivationImp constructor to take context parameter.
  • kjs/function.cpp: (ActivationImp::ActivationImp): Take context parameter, not execution state parameter.
  • kjs/internal.cpp: (ContextImp::ContextImp): Initialize activation object from context, not execution state, because the new context is not yet in the execution state.
File:
1 edited

Legend:

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

    r2792 r2799  
    332332
    333333// ECMA 10.1.6
    334 ActivationImp::ActivationImp(ExecState *exec)
    335     : _context(exec->context().imp()), _argumentsObject(0)
     334ActivationImp::ActivationImp(ContextImp *context)
     335    : _context(context), _argumentsObject(0)
    336336{
    337337  // FIXME: Do we need to support enumerating the arguments property?
Note: See TracChangeset for help on using the changeset viewer.