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

Unified Diff: src/compiler/ast-loop-assignment-analyzer.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-loop-assignment-analyzer.cc
diff --git a/src/compiler/ast-loop-assignment-analyzer.cc b/src/compiler/ast-loop-assignment-analyzer.cc
index 334c5978a86f4088f80cb6af17d9b828980fae21..40898162518939bb93435f5dfe0dae02eec4444c 100644
--- a/src/compiler/ast-loop-assignment-analyzer.cc
+++ b/src/compiler/ast-loop-assignment-analyzer.cc
@@ -151,10 +151,7 @@ void ALAA::VisitObjectLiteral(ObjectLiteral* e) {
void ALAA::VisitArrayLiteral(ArrayLiteral* e) { VisitExpressions(e->values()); }
-void ALAA::VisitYield(Yield* stmt) {
- Visit(stmt->generator_object());
- Visit(stmt->expression());
-}
+void ALAA::VisitYield(Yield* stmt) { UNREACHABLE(); }
Michael Starzinger 2016/05/17 15:49:32 Likewise, this runs before the AstGrpahBuilder, le
void ALAA::VisitThrow(Throw* stmt) { Visit(stmt->exception()); }

Powered by Google App Engine
This is Rietveld 408576698