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

Unified Diff: src/contexts.h

Issue 1382513003: Test for var declarations in eval which conflict with let (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | src/contexts.cc » ('j') | src/runtime/runtime-scopes.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/contexts.h
diff --git a/src/contexts.h b/src/contexts.h
index 84829f527efb42e2dd7805d7ca9c74e7e938bb30..03f45083aac23a5b951c3a844892be57fb21861d 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -15,9 +15,13 @@ namespace internal {
enum ContextLookupFlags {
FOLLOW_CONTEXT_CHAIN = 1,
FOLLOW_PROTOTYPE_CHAIN = 2,
+ STOP_AT_DECLARATION_SCOPE = 4,
+ SKIP_WITH_CONTEXT = 8,
adamk 2015/10/05 17:20:36 Can you change these to "1 << N" form now that we'
Dan Ehrenberg 2015/10/08 23:01:26 Done
DONT_FOLLOW_CHAINS = 0,
- FOLLOW_CHAINS = FOLLOW_CONTEXT_CHAIN | FOLLOW_PROTOTYPE_CHAIN
+ FOLLOW_CHAINS = FOLLOW_CONTEXT_CHAIN | FOLLOW_PROTOTYPE_CHAIN,
+ LEXICAL_TEST =
+ FOLLOW_CONTEXT_CHAIN | STOP_AT_DECLARATION_SCOPE | SKIP_WITH_CONTEXT,
};
« no previous file with comments | « no previous file | src/contexts.cc » ('j') | src/runtime/runtime-scopes.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698