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

Unified Diff: src/compiler.h

Issue 1952623002: [compiler] Remove is_native and is_eval accessors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index d16d6dc62f2251d85f85c5fcaed22086eed9af1f..2e5d6ae3918fc580ce15a7bb8a65a5ee6cd03b4b 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -175,9 +175,6 @@ class CompilationInfo final {
// TODO(titzer): inline and delete accessors of ParseInfo
// -----------------------------------------------------------
Handle<Script> script() const;
- bool is_eval() const;
- bool is_native() const;
- bool is_module() const;
FunctionLiteral* literal() const;
Scope* scope() const;
Handle<Context> context() const;
@@ -460,6 +457,8 @@ class CompilationInfo final {
StackFrame::Type GetOutputStackFrameType() const;
+ int GetDeclareGlobalsFlags() const;
+
protected:
ParseInfo* parse_info_;
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698