Ignore:
Timestamp:
Aug 26, 2012, 8:57:02 PM (13 years ago)
Author:
[email protected]
Message:

Removed the NULL checks from visitChildren functions
https://bugs.webkit.org/show_bug.cgi?id=95021

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

As of http://trac.webkit.org/changeset/126624, all values are NULL-checked
during GC, so explicit NULL checks aren't needed anymore.

Source/WebCore:

As of http://trac.webkit.org/changeset/126624, all values are NULL-checked
during GC, so explicit NULL checks aren't needed anymore.

File:
1 edited

Legend:

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

    r118616 r126721  
    4949        visitor.appendValues(thisObject->d->registerArray.get(), thisObject->d->numArguments);
    5050    visitor.append(&thisObject->d->callee);
    51     if (thisObject->d->activation)
    52         visitor.append(&thisObject->d->activation);
     51    visitor.append(&thisObject->d->activation);
    5352}
    5453
Note: See TracChangeset for help on using the changeset viewer.