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

Unified Diff: src/contexts.h

Issue 2206483004: Sloppy eval declarations should not shadow lexical function declarations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 | « no previous file | src/contexts.cc » ('j') | no next file with comments »
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 3ae127ad506a449b8e2d662aa8b4c3c72a4909b4..9ca60d05c118fcabcf0b10915e272427f5fbaa33 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -505,11 +505,10 @@ class Context: public FixedArray {
// 3) result.is_null():
// There was no binding found, *index is always -1 and *attributes is
// always ABSENT.
- Handle<Object> Lookup(Handle<String> name,
- ContextLookupFlags flags,
- int* index,
- PropertyAttributes* attributes,
- BindingFlags* binding_flags);
+ Handle<Object> Lookup(Handle<String> name, ContextLookupFlags flags,
+ int* index, PropertyAttributes* attributes,
+ BindingFlags* binding_flags,
+ VariableMode* variable_mode);
// Code generation support.
static int SlotOffset(int index) {
« no previous file with comments | « no previous file | src/contexts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698