Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 4139ba5811f85066e9eea730933e3dea30767531..a2a4e3c0839be80852bd9fbf4566b7fade90da8c 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -629,6 +629,11 @@ class ParserTraits { |
return tag != NULL; |
} |
+ V8_INLINE ZoneList<v8::internal::Expression*>* PrepareSpreadCallArguments( |
+ Expression* function, ZoneList<v8::internal::Expression*>* list); |
+ V8_INLINE ZoneList<v8::internal::Expression*>* PrepareSpreadCallNewArguments( |
+ Expression* function, ZoneList<v8::internal::Expression*>* list); |
+ |
private: |
Parser* parser_; |
}; |
@@ -837,6 +842,11 @@ class Parser : public ParserBase<ParserTraits> { |
Expression* tag); |
uint32_t ComputeTemplateLiteralHash(const TemplateLiteral* lit); |
+ ZoneList<v8::internal::Expression*>* PrepareSpreadCallArguments( |
+ Expression* function, ZoneList<v8::internal::Expression*>* list); |
+ ZoneList<v8::internal::Expression*>* PrepareSpreadCallNewArguments( |
+ Expression* function, ZoneList<v8::internal::Expression*>* list); |
+ |
Scanner scanner_; |
PreParser* reusable_preparser_; |
Scope* original_scope_; // for ES5 function declarations in sloppy eval |
@@ -952,6 +962,19 @@ Expression* ParserTraits::CloseTemplateLiteral(TemplateLiteralState* state, |
int start, Expression* tag) { |
return parser_->CloseTemplateLiteral(state, start, tag); |
} |
+ |
+ |
+ZoneList<v8::internal::Expression*>* ParserTraits::PrepareSpreadCallArguments( |
+ Expression* function, ZoneList<v8::internal::Expression*>* list) { |
+ return parser_->PrepareSpreadCallArguments(function, list); |
+} |
+ |
+ |
+ZoneList<v8::internal::Expression*>* |
+ParserTraits::PrepareSpreadCallNewArguments( |
+ Expression* function, ZoneList<v8::internal::Expression*>* list) { |
+ return parser_->PrepareSpreadCallNewArguments(function, list); |
+} |
} } // namespace v8::internal |
#endif // V8_PARSER_H_ |