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

Unified Diff: src/scopes.h

Issue 1309043004: Revert of Add a separate scope for switch (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/parser.cc ('k') | test/mjsunit/regress/regress-4377.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scopes.h
diff --git a/src/scopes.h b/src/scopes.h
index c15e201fab7fab839d7bafcc6fbf24e5f9b49aed..2f600b9f0cbc3aa244a94840e6450a96419a549e 100644
--- a/src/scopes.h
+++ b/src/scopes.h
@@ -246,10 +246,6 @@
// for (let x ...) stmt
// start position: start position of '('
// end position: end position of last token of 'stmt'
- // * For the scope of a switch statement
- // switch (tag) { cases }
- // start position: start position of '{'
- // end position: end position of '}'
int start_position() const { return start_position_; }
void set_start_position(int statement_pos) {
start_position_ = statement_pos;
« no previous file with comments | « src/parser.cc ('k') | test/mjsunit/regress/regress-4377.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698