Ignore:
Timestamp:
Jan 30, 2011, 5:13:10 PM (15 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/JavaScriptGlue/JSValueWrapper.cpp

    r77044 r77098  
    195195void JSValueWrapper::JSObjectMark(void *data)
    196196{
    197     JSValueWrapper* ptr = (JSValueWrapper*)data;
    198     if (ptr)
    199     {
    200         // This results in recursive marking but will be otherwise safe and correct.
    201         // We claim the array vptr is 0 because we don't have access to it here, and
    202         // claiming 0 is functionally harmless -- it merely means that we can't
    203         // devirtualise marking of arrays when recursing from this point.
    204         MarkStack markStack(0);
    205         markStack.append(ptr->fValue.get());
    206         markStack.drain();
    207     }
    208197}
Note: See TracChangeset for help on using the changeset viewer.