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

Unified Diff: src/compiler/ast-graph-builder.cc

Issue 1981323002: [compiler] Remove obsolete JSYield operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/compiler/ast-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
index ddd8610b902f1a7db1371e148259aa3fefdfbea2..36a6e99b17c782e0f5048b8e57a69eb5cd8b6a91 100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -2250,11 +2250,7 @@ void AstGraphBuilder::VisitAssignment(Assignment* expr) {
}
-void AstGraphBuilder::VisitYield(Yield* expr) {
- // TODO(turbofan): Implement yield here.
- SetStackOverflow();
- ast_context()->ProduceValue(jsgraph()->UndefinedConstant());
-}
+void AstGraphBuilder::VisitYield(Yield* expr) { UNREACHABLE(); }
Michael Starzinger 2016/05/17 15:49:32 As discussed offline: I think we still need this b
void AstGraphBuilder::VisitThrow(Throw* expr) {
« no previous file with comments | « no previous file | src/compiler/ast-loop-assignment-analyzer.cc » ('j') | src/compiler/ast-loop-assignment-analyzer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698