Changeset 208224 in webkit for trunk/Source/JavaScriptCore/dfg/DFGNode.h
- Timestamp:
- Nov 1, 2016, 10:20:25 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGNode.h
r208208 r208224 459 459 case PhantomDirectArguments: 460 460 case PhantomClonedArguments: 461 case PhantomCreateRest:462 461 // These pretend to be the empty value constant for the benefit of the DFG backend, which 463 462 // otherwise wouldn't take kindly to a node that doesn't compute a value. … … 473 472 ASSERT(hasConstant()); 474 473 475 if (op() == PhantomDirectArguments || op() == PhantomClonedArguments || op() == PhantomCreateRest) {474 if (op() == PhantomDirectArguments || op() == PhantomClonedArguments) { 476 475 // These pretend to be the empty value constant for the benefit of the DFG backend, which 477 476 // otherwise wouldn't take kindly to a node that doesn't compute a value. … … 1747 1746 case PhantomNewObject: 1748 1747 case PhantomDirectArguments: 1749 case PhantomCreateRest:1750 1748 case PhantomClonedArguments: 1751 1749 case PhantomNewFunction: … … 2391 2389 unsigned numberOfArgumentsToSkip() 2392 2390 { 2393 ASSERT(op() == CreateRest || op() == GetRestLength || op() == GetMyArgumentByVal || op() == GetMyArgumentByValOutOfBounds);2391 ASSERT(op() == CreateRest || op() == GetRestLength); 2394 2392 return m_opInfo.as<unsigned>(); 2395 2393 }
Note:
See TracChangeset
for help on using the changeset viewer.