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

Unified Diff: src/hydrogen.cc

Issue 1399893002: [es7] implement |do| expressions proposal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix AST numbering issue + add simple TF impl Created 5 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
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index fc3aa4cabd97c52aa3ace5100e2d06bbc43ee71d..0e76a70265437fbcf40627100201302def1a8bc1 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -5520,6 +5520,14 @@ void HOptimizedGraphBuilder::VisitNativeFunctionLiteral(
}
+void HOptimizedGraphBuilder::VisitDoExpression(DoExpression* expr) {
+ DCHECK(!HasStackOverflow());
+ DCHECK_NOT_NULL(current_block());
+ DCHECK(current_block()->HasPredecessor());
+ return Bailout(kDoExpression);
+}
+
+
void HOptimizedGraphBuilder::VisitConditional(Conditional* expr) {
DCHECK(!HasStackOverflow());
DCHECK(current_block() != NULL);

Powered by Google App Engine
This is Rietveld 408576698