Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: src/parsing/parser.h

Issue 1582783004: [es6] add SetFunctionName() behaviour to AssignmentExpression (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add a bunch more tests Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/parsing/parser.cc » ('j') | test/mjsunit/harmony/function-name.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.h
diff --git a/src/parsing/parser.h b/src/parsing/parser.h
index cb9809ae99200b0139bf4999fe540fde26530b09..f03efdc72297fc178de4c40dd1ec3b5eb96c4274 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -646,6 +646,9 @@ class ParserTraits {
void SetFunctionNameFromPropertyName(ObjectLiteralProperty* property,
const AstRawString* name);
+ void SetFunctionNameFromIdentifierRef(Expression* value,
+ Expression* identifier);
+
private:
Parser* parser_;
};
« no previous file with comments | « no previous file | src/parsing/parser.cc » ('j') | test/mjsunit/harmony/function-name.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698