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

Side by Side Diff: src/compiler.h

Issue 1863793004: [compiler] Deprecate CompilationInfo::has_context predicate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_H_ 5 #ifndef V8_COMPILER_H_
6 #define V8_COMPILER_H_ 6 #define V8_COMPILER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 bool is_eval() const; 177 bool is_eval() const;
178 bool is_native() const; 178 bool is_native() const;
179 bool is_module() const; 179 bool is_module() const;
180 LanguageMode language_mode() const; 180 LanguageMode language_mode() const;
181 Handle<JSFunction> closure() const; 181 Handle<JSFunction> closure() const;
182 FunctionLiteral* literal() const; 182 FunctionLiteral* literal() const;
183 Scope* scope() const; 183 Scope* scope() const;
184 Handle<Context> context() const; 184 Handle<Context> context() const;
185 Handle<SharedFunctionInfo> shared_info() const; 185 Handle<SharedFunctionInfo> shared_info() const;
186 bool has_shared_info() const; 186 bool has_shared_info() const;
187 bool has_context() const;
188 // ----------------------------------------------------------- 187 // -----------------------------------------------------------
189 188
190 Isolate* isolate() const { 189 Isolate* isolate() const {
191 return isolate_; 190 return isolate_;
192 } 191 }
193 Zone* zone() { return zone_; } 192 Zone* zone() { return zone_; }
194 bool is_osr() const { return !osr_ast_id_.IsNone(); } 193 bool is_osr() const { return !osr_ast_id_.IsNone(); }
195 Handle<Code> code() const { return code_; } 194 Handle<Code> code() const { return code_; }
196 Code::Flags code_flags() const { return code_flags_; } 195 Code::Flags code_flags() const { return code_flags_; }
197 BailoutId osr_ast_id() const { return osr_ast_id_; } 196 BailoutId osr_ast_id() const { return osr_ast_id_; }
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 OptimizedCompileJob* job_; 633 OptimizedCompileJob* job_;
635 base::ElapsedTimer timer_; 634 base::ElapsedTimer timer_;
636 base::TimeDelta* location_; 635 base::TimeDelta* location_;
637 }; 636 };
638 }; 637 };
639 638
640 } // namespace internal 639 } // namespace internal
641 } // namespace v8 640 } // namespace v8
642 641
643 #endif // V8_COMPILER_H_ 642 #endif // V8_COMPILER_H_
OLDNEW
« 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