Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 8155dcc42889c1973ae76d7466f66ba3ebcf6c1d..7eb1c208ec741f75e1271ac2ed49df42d80d2c14 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -5738,8 +5738,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]] |