Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Unified Diff: src/parser.h

Issue 742643003: Cache template literal callSiteObj (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index 820e1494e5711d0914d6acdefbe96168821c82ea..75e1b51aca947621770daa750971d407791eeff0 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -873,7 +873,8 @@ class Parser : public ParserBase<ParserTraits> {
Expression* expression);
Expression* CloseTemplateLiteral(TemplateLiteralState* state, int start,
Expression* tag);
- ZoneList<Expression*>* TemplateRawStrings(const TemplateLiteral* lit);
+ ZoneList<Expression*>* TemplateRawStrings(const TemplateLiteral* lit,
+ uint32_t* hash);
Scanner scanner_;
PreParser* reusable_preparser_;
Scope* original_scope_; // for ES5 function declarations in sloppy eval

Powered by Google App Engine
This is Rietveld 408576698