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

Unified Diff: src/hydrogen.cc

Issue 663683006: Implement ES6 Template Literals (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Implement tagged template literals Created 6 years, 2 months 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
« no previous file with comments | « src/harmony-templates.js ('k') | src/messages.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index c2bdd6609bf600cf9adab235ce9fbe0aa367f335..f97195aed2a47cc2f399e99bbffb684ec70e0833 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -5461,6 +5461,11 @@ void HOptimizedGraphBuilder::VisitLiteral(Literal* expr) {
}
+void HOptimizedGraphBuilder::VisitTemplateLiteral(TemplateLiteral* expr) {
+ return Bailout(kTemplateLiteral);
+}
+
+
void HOptimizedGraphBuilder::VisitRegExpLiteral(RegExpLiteral* expr) {
DCHECK(!HasStackOverflow());
DCHECK(current_block() != NULL);
« no previous file with comments | « src/harmony-templates.js ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698