Ignore:
Timestamp:
Nov 1, 2016, 10:20:25 AM (9 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r208208 and r208210.
https://bugs.webkit.org/show_bug.cgi?id=164276

This change caused 28 JSC test failures. (Requested by
ryanhaddad on #webkit).

Reverted changesets:

"We should be able to eliminate rest parameter allocations"
https://bugs.webkit.org/show_bug.cgi?id=163925
http://trac.webkit.org/changeset/208208

"Fix the EFL build."
http://trac.webkit.org/changeset/208210

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGNode.h

    r208208 r208224  
    459459        case PhantomDirectArguments:
    460460        case PhantomClonedArguments:
    461         case PhantomCreateRest:
    462461            // These pretend to be the empty value constant for the benefit of the DFG backend, which
    463462            // otherwise wouldn't take kindly to a node that doesn't compute a value.
     
    473472        ASSERT(hasConstant());
    474473       
    475         if (op() == PhantomDirectArguments || op() == PhantomClonedArguments || op() == PhantomCreateRest) {
     474        if (op() == PhantomDirectArguments || op() == PhantomClonedArguments) {
    476475            // These pretend to be the empty value constant for the benefit of the DFG backend, which
    477476            // otherwise wouldn't take kindly to a node that doesn't compute a value.
     
    17471746        case PhantomNewObject:
    17481747        case PhantomDirectArguments:
    1749         case PhantomCreateRest:
    17501748        case PhantomClonedArguments:
    17511749        case PhantomNewFunction:
     
    23912389    unsigned numberOfArgumentsToSkip()
    23922390    {
    2393         ASSERT(op() == CreateRest || op() == GetRestLength || op() == GetMyArgumentByVal || op() == GetMyArgumentByValOutOfBounds);
     2391        ASSERT(op() == CreateRest || op() == GetRestLength);
    23942392        return m_opInfo.as<unsigned>();
    23952393    }
Note: See TracChangeset for help on using the changeset viewer.