Chromium Code Reviews| Index: src/contexts.h |
| diff --git a/src/contexts.h b/src/contexts.h |
| index d01ddafccc651221cf88bd5898dc553d7d31586b..4aa7d971c59b52326e1d1dfb6fe16ffe094cb134 100644 |
| --- a/src/contexts.h |
| +++ b/src/contexts.h |
| @@ -450,6 +450,9 @@ class Context: public FixedArray { |
| Context* declaration_context(); |
| bool is_declaration_context(); |
| + // Get the next local context on the context chain. |
| + Context* local_context(); |
|
rossberg
2016/01/29 19:46:25
Nit: Scope has an analogous method called ClosureS
Yang
2016/02/01 06:28:45
Done.
|
| + |
| // Returns a JSGlobalProxy object or null. |
| JSObject* global_proxy(); |
| void set_global_proxy(JSObject* global); |