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

Unified Diff: src/parsing/rewriter.cc

Issue 1667453002: Remove flags for ES2015 features shipped in M48 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Mark failing ignition/arm64 test as flaky Created 4 years, 11 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/js/symbol.js ('k') | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/rewriter.cc
diff --git a/src/parsing/rewriter.cc b/src/parsing/rewriter.cc
index 4da60aca186589015a2e9ba2fca76f0943d54714..646e4d532c5284bc1bc1a8cb4dd274bc62009ce2 100644
--- a/src/parsing/rewriter.cc
+++ b/src/parsing/rewriter.cc
@@ -148,7 +148,7 @@ void Processor::VisitIfStatement(IfStatement* node) {
is_set_ = is_set_ && set_in_then;
replacement_ = node;
- if (FLAG_harmony_completion && !is_set_) {
+ if (!is_set_) {
is_set_ = true;
replacement_ = AssignUndefinedBefore(node);
}
@@ -164,7 +164,7 @@ void Processor::VisitIterationStatement(IterationStatement* node) {
is_set_ = is_set_ && set_after;
replacement_ = node;
- if (FLAG_harmony_completion && !is_set_) {
+ if (!is_set_) {
is_set_ = true;
replacement_ = AssignUndefinedBefore(node);
}
@@ -208,7 +208,7 @@ void Processor::VisitTryCatchStatement(TryCatchStatement* node) {
is_set_ = is_set_ && set_in_try;
replacement_ = node;
- if (FLAG_harmony_completion && !is_set_) {
+ if (!is_set_) {
is_set_ = true;
replacement_ = AssignUndefinedBefore(node);
}
@@ -245,7 +245,7 @@ void Processor::VisitTryFinallyStatement(TryFinallyStatement* node) {
node->set_try_block(replacement_->AsBlock());
replacement_ = node;
- if (FLAG_harmony_completion && !is_set_) {
+ if (!is_set_) {
is_set_ = true;
replacement_ = AssignUndefinedBefore(node);
}
@@ -263,7 +263,7 @@ void Processor::VisitSwitchStatement(SwitchStatement* node) {
is_set_ = is_set_ && set_after;
replacement_ = node;
- if (FLAG_harmony_completion && !is_set_) {
+ if (!is_set_) {
is_set_ = true;
replacement_ = AssignUndefinedBefore(node);
}
@@ -287,7 +287,7 @@ void Processor::VisitWithStatement(WithStatement* node) {
node->set_statement(replacement_);
replacement_ = node;
- if (FLAG_harmony_completion && !is_set_) {
+ if (!is_set_) {
is_set_ = true;
replacement_ = AssignUndefinedBefore(node);
}
« no previous file with comments | « src/js/symbol.js ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698