Changeset 121280 in webkit for trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
- Timestamp:
- Jun 26, 2012, 12:42:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
r121073 r121280 1607 1607 // is good enough. 1608 1608 1609 UNUSED_PARAM(registerOffset); // Remove this once we do more things to the arguments.1610 1609 UNUSED_PARAM(prediction); // Remove this once we do more things. 1611 1610 UNUSED_PARAM(kind); // Remove this once we do more things. 1612 1611 1613 1612 if (function->classInfo() == &ArrayConstructor::s_info) { 1614 // We could handle this but don't for now. 1615 if (argumentCountIncludingThis != 1) 1616 return false; 1617 1613 if (argumentCountIncludingThis == 2) { 1614 setIntrinsicResult( 1615 usesResult, resultOperand, 1616 addToGraph(NewArrayWithSize, get(registerOffset + argumentToOperand(1)))); 1617 return true; 1618 } 1619 1620 for (int i = 1; i < argumentCountIncludingThis; ++i) 1621 addVarArgChild(get(registerOffset + argumentToOperand(i))); 1618 1622 setIntrinsicResult( 1619 1623 usesResult, resultOperand,
Note:
See TracChangeset
for help on using the changeset viewer.