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

Unified Diff: src/compilation-info.h

Issue 2316083002: [compiler] Stop delegating CompilationInfo::context. (Closed)
Patch Set: Created 4 years, 3 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/compilation-info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/compilation-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698