Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 0a781c5ea01c0e02efc5b1426d62283d1e5ec263..27f9dea1f63acec4ab0eeb36bd2df0fbab7307c8 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -5706,8 +5706,9 @@ void ParserTraits::SetFunctionNameFromPropertyName( |
Expression* value = property->value(); |
if (!value->IsAnonymousFunctionDefinition()) return; |
- // TODO(adamk): Support computed names. |
+ // Computed name setting must happen at runtime. |
if (property->is_computed_name()) return; |
+ |
DCHECK_NOT_NULL(name); |
// Ignore "__proto__" as a name when it's being used to set the [[Prototype]] |