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

Unified Diff: src/scopes.h

Issue 1274193004: Let eval scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Changes for code review 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/harmony/block-conflicts-sloppy.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 acfad4cf1605ac1f4b152636093841a303846147..2f600b9f0cbc3aa244a94840e6450a96419a549e 100644
--- a/src/scopes.h
+++ b/src/scopes.h
@@ -279,9 +279,6 @@ class Scope: public ZoneObject {
bool is_with_scope() const { return scope_type_ == WITH_SCOPE; }
bool is_arrow_scope() const { return scope_type_ == ARROW_SCOPE; }
bool is_declaration_scope() const { return is_declaration_scope_; }
- bool is_strict_eval_scope() const {
- return is_eval_scope() && is_strict(language_mode_);
- }
void set_is_declaration_scope() { is_declaration_scope_ = true; }
« no previous file with comments | « src/parser.cc ('k') | test/mjsunit/harmony/block-conflicts-sloppy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698