Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index 28e4af53682b2fa6a55623914720d7939bbd0285..c031e6cf5b919541fe923e0dd4746957f47a26ab 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -341,6 +341,9 @@ class Context: public FixedArray { |
// The builtins object. |
JSBuiltinsObject* builtins(); |
+ // Get the innermost global context by traversing the context chain. |
+ Context* global_context(); |
+ |
// Compute the native context by traversing the context chain. |
Context* native_context(); |