Changeset 192935 in webkit for trunk/Source/JavaScriptCore/parser/ASTBuilder.h
- Timestamp:
- Dec 1, 2015, 5:37:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/ASTBuilder.h
r192914 r192935 342 342 } 343 343 344 YieldExprNode* createYield(const JSTokenLocation& location, ExpressionNode* argument, bool delegate, const JSTextPosition& start, const JSTextPosition& divot, const JSTextPosition& end) 345 { 346 YieldExprNode* node = new (m_parserArena) YieldExprNode(location, argument, delegate); 347 setExceptionLocation(node, start, divot, end); 348 return node; 344 YieldExprNode* createYield(const JSTokenLocation& location, ExpressionNode* argument, bool delegate) 345 { 346 return new (m_parserArena) YieldExprNode(location, argument, delegate); 349 347 } 350 348 … … 367 365 unsigned startColumn, unsigned endColumn, int functionKeywordStart, 368 366 int functionNameStart, int parametersStart, bool inStrictContext, 369 ConstructorKind constructorKind, SuperBinding superBinding, unsigned parameterCount, SourceParseMode mode, bool isArrowFunctionBodyExpression)367 ConstructorKind constructorKind, unsigned parameterCount, SourceParseMode mode, bool isArrowFunction, bool isArrowFunctionBodyExpression) 370 368 { 371 369 return new (m_parserArena) FunctionMetadataNode( 372 370 m_parserArena, startLocation, endLocation, startColumn, endColumn, 373 371 functionKeywordStart, functionNameStart, parametersStart, 374 inStrictContext, constructorKind, superBinding, parameterCount, mode, isArrowFunctionBodyExpression);372 inStrictContext, constructorKind, parameterCount, mode, isArrowFunction, isArrowFunctionBodyExpression); 375 373 } 376 374 … … 894 892 node->setStartOffset(offset); 895 893 } 896 897 898 void propagateArgumentsUse() { usesArguments(); }899 894 900 895 private:
Note:
See TracChangeset
for help on using the changeset viewer.