Changeset 223175 in webkit for trunk/Source/JavaScriptCore/parser/Parser.cpp
- Timestamp:
- Oct 11, 2017, 5:59:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/Parser.cpp
r223124 r223175 4648 4648 4649 4649 bool baseIsSuper = match(SUPER); 4650 bool previousBaseWasSuper = false; 4650 4651 bool baseIsImport = match(IMPORT); 4651 4652 semanticFailIfTrue((baseIsSuper || baseIsImport) && newCount, "Cannot use new with ", getToken()); … … 4789 4790 functionScope->setInnerArrowFunctionUsesSuperCall(); 4790 4791 } 4791 base = context.makeFunctionCallNode(startLocation, base, arguments, expressionStart,4792 base = context.makeFunctionCallNode(startLocation, base, previousBaseWasSuper, arguments, expressionStart, 4792 4793 expressionEnd, lastTokenEndPosition(), callOrApplyDepthScope ? callOrApplyDepthScope->distanceToInnermostChild() : 0); 4793 4794 } … … 4819 4820 goto endMemberExpression; 4820 4821 } 4822 previousBaseWasSuper = baseIsSuper; 4821 4823 baseIsSuper = false; 4822 4824 }
Note:
See TracChangeset
for help on using the changeset viewer.