Changeset 190066 in webkit
- Timestamp:
- Sep 21, 2015 12:11:42 PM (9 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r190063 r190066 1 2015-09-21 Aleksandr Skachkov <gskachkov@gmail.com> 2 3 Web Inspector: arrow function names are never inferred, call frames are labeled (anonymous function) 4 https://bugs.webkit.org/show_bug.cgi?id=148318 5 6 Reviewed by Saam Barati. 7 8 Tiny change to support of the inferred name in arrow function 9 10 * parser/ASTBuilder.h: 11 (JSC::ASTBuilder::createAssignResolve): 12 1 13 2015-09-19 Aleksandr Skachkov <gskachkov@gmail.com> 2 14 -
trunk/Source/JavaScriptCore/parser/ASTBuilder.h
r189819 r190066 335 335 ExpressionNode* createAssignResolve(const JSTokenLocation& location, const Identifier& ident, ExpressionNode* rhs, const JSTextPosition& start, const JSTextPosition& divot, const JSTextPosition& end, AssignmentContext assignmentContext) 336 336 { 337 if (rhs->isFuncExprNode() )337 if (rhs->isFuncExprNode() || rhs->isArrowFuncExprNode()) 338 338 static_cast<FuncExprNode*>(rhs)->metadata()->setInferredName(ident); 339 339 AssignResolveNode* node = new (m_parserArena) AssignResolveNode(location, ident, rhs, assignmentContext);
Note: See TracChangeset
for help on using the changeset viewer.