Index: src/ast-value-factory.cc |
diff --git a/src/ast-value-factory.cc b/src/ast-value-factory.cc |
index 0a1949a69cc2b05756aa1939e1d947ebffae2b12..84ec6a2e869fd52dd0d882f99886b6b28636efcd 100644 |
--- a/src/ast-value-factory.cc |
+++ b/src/ast-value-factory.cc |
@@ -271,6 +271,13 @@ const AstConsString* AstValueFactory::NewConsString( |
} |
+const AstTemplateSpan* AstValueFactory::NewTemplateSpan( |
+ const AstString* value, const AstString* rawValue) { |
+ AstTemplateSpan* new_span = new (zone_) AstTemplateSpan(value, rawValue); |
+ return new_span; |
+} |
+ |
+ |
void AstValueFactory::Internalize(Isolate* isolate) { |
if (isolate_) { |
// Everything is already internalized. |