| OLD | NEW | 
|    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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  171  |  171  | 
|  172   ParseInfo* parse_info() const { return parse_info_; } |  172   ParseInfo* parse_info() const { return parse_info_; } | 
|  173  |  173  | 
|  174   // ----------------------------------------------------------- |  174   // ----------------------------------------------------------- | 
|  175   // TODO(titzer): inline and delete accessors of ParseInfo |  175   // TODO(titzer): inline and delete accessors of ParseInfo | 
|  176   // ----------------------------------------------------------- |  176   // ----------------------------------------------------------- | 
|  177   Handle<Script> script() const; |  177   Handle<Script> script() const; | 
|  178   bool is_eval() const; |  178   bool is_eval() const; | 
|  179   bool is_native() const; |  179   bool is_native() const; | 
|  180   bool is_module() const; |  180   bool is_module() const; | 
|  181   LanguageMode language_mode() const; |  | 
|  182   FunctionLiteral* literal() const; |  181   FunctionLiteral* literal() const; | 
|  183   Scope* scope() const; |  182   Scope* scope() const; | 
|  184   Handle<Context> context() const; |  183   Handle<Context> context() const; | 
|  185   Handle<SharedFunctionInfo> shared_info() const; |  184   Handle<SharedFunctionInfo> shared_info() const; | 
|  186   bool has_shared_info() const; |  185   bool has_shared_info() const; | 
|  187   // ----------------------------------------------------------- |  186   // ----------------------------------------------------------- | 
|  188  |  187  | 
|  189   Isolate* isolate() const { |  188   Isolate* isolate() const { | 
|  190     return isolate_; |  189     return isolate_; | 
|  191   } |  190   } | 
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  620   MUST_USE_RESULT Status SetLastStatus(Status status) { |  619   MUST_USE_RESULT Status SetLastStatus(Status status) { | 
|  621     last_status_ = status; |  620     last_status_ = status; | 
|  622     return last_status_; |  621     return last_status_; | 
|  623   } |  622   } | 
|  624 }; |  623 }; | 
|  625  |  624  | 
|  626 }  // namespace internal |  625 }  // namespace internal | 
|  627 }  // namespace v8 |  626 }  // namespace v8 | 
|  628  |  627  | 
|  629 #endif  // V8_COMPILER_H_ |  628 #endif  // V8_COMPILER_H_ | 
| OLD | NEW |