void QScriptObject::markChildren(JSC::MarkStack& markStack) { if (!d) d = new Data(); if (d->isMarking) return; QBoolBlocker markBlocker(d->isMarking, true); if (d && d->data) markStack.append(d->data); if (!d || !d->delegate) { JSC::JSObject::markChildren(markStack); return; } d->delegate->markChildren(this, markStack); }
void GlobalObject::markChildren(JSC::MarkStack& markStack) { JSC::JSGlobalObject::markChildren(markStack); if (customGlobalObject) markStack.append(customGlobalObject); }