Index: src/compilation-info.h |
diff --git a/src/compilation-info.h b/src/compilation-info.h |
index 2c3c2006b5a02f3e93562969e3c64793ce6fa62f..7f13aeb2601371fcde28150104ae80ef581d5f94 100644 |
--- a/src/compilation-info.h |
+++ b/src/compilation-info.h |
@@ -68,7 +68,6 @@ class CompilationInfo final { |
Handle<Script> script() const; |
FunctionLiteral* literal() const; |
DeclarationScope* scope() const; |
- Handle<Context> context() const; |
Handle<SharedFunctionInfo> shared_info() const; |
bool has_shared_info() const; |
// ----------------------------------------------------------- |
@@ -218,6 +217,9 @@ class CompilationInfo final { |
(FLAG_trap_on_stub_deopt && IsStub()); |
} |
+ bool has_context() const; |
+ Context* context() const; |
+ |
bool has_native_context() const; |
Context* native_context() const; |