Index: src/parsing/func-name-inferrer.cc |
diff --git a/src/parsing/func-name-inferrer.cc b/src/parsing/func-name-inferrer.cc |
index 8266df4bbc0cbc47893485aaabc4d145411ba0d6..e9736165340cf8f238e166b421b20b08227525e7 100644 |
--- a/src/parsing/func-name-inferrer.cc |
+++ b/src/parsing/func-name-inferrer.cc |
@@ -64,9 +64,9 @@ const AstConsString* FuncNameInferrer::MakeNameFromStack() { |
} |
// Add name. Separate names with ".". |
if (!result->IsEmpty()) { |
- result->AddString(ast_value_factory_->dot_string()); |
+ result->AddString(zone(), ast_value_factory_->dot_string()); |
} |
- result->AddString(names_stack_.at(pos).name); |
+ result->AddString(zone(), names_stack_.at(pos).name); |
} |
return result; |
} |