Ignore:
Timestamp:
Jan 31, 2011, 12:07:21 PM (15 years ago)
Author:
[email protected]
Message:

2011-01-31 Oliver Hunt <[email protected]>

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

rolling r77098, r77099, r77100, r77109, and
r77111 back in, along with a few more Qt fix attempts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptGlue/JSValueWrapper.cpp

    r77113 r77151  
    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.