Ignore:
Timestamp:
Jan 30, 2011, 5:13:10 PM (14 years ago)
Author:
[email protected]
Message:

Convert markstack to a slot visitor API
https://bugs.webkit.org/show_bug.cgi?id=53219

rolling r77006 and r77020 back in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSActivation.cpp

    r77044 r77098  
    6262
    6363    size_t count = numParametersMinusThis;
    64     markStack.appendValues(registerArray, count);
     64    markStack.deprecatedAppendValues(registerArray, count);
    6565
    6666    size_t numVars = d()->functionExecutable->capturedVariableCount();
    6767
    6868    // Skip the call frame, which sits between the parameters and vars.
    69     markStack.appendValues(registerArray + count + RegisterFile::CallFrameHeaderSize, numVars, MayContainNullValues);
     69    markStack.deprecatedAppendValues(registerArray + count + RegisterFile::CallFrameHeaderSize, numVars, MayContainNullValues);
    7070}
    7171
     
    145145}
    146146
    147 void JSActivation::put(ExecState*, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
     147void JSActivation::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
    148148{
    149149    ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this));
     
    156156    // expose in the activation object.
    157157    ASSERT(!hasGetterSetterProperties());
    158     putDirect(propertyName, value, 0, true, slot);
     158    putDirect(exec->globalData(), propertyName, value, 0, true, slot);
    159159}
    160160
Note: See TracChangeset for help on using the changeset viewer.