| 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_FULL_CODEGEN_FULL_CODEGEN_H_ | 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
| 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
| 10 #include "src/ast/ast.h" | 10 #include "src/ast/ast.h" |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 class ExpressionContext; | 563 class ExpressionContext; |
| 564 const ExpressionContext* context() { return context_; } | 564 const ExpressionContext* context() { return context_; } |
| 565 void set_new_context(const ExpressionContext* context) { context_ = context; } | 565 void set_new_context(const ExpressionContext* context) { context_ = context; } |
| 566 | 566 |
| 567 Isolate* isolate() const { return isolate_; } | 567 Isolate* isolate() const { return isolate_; } |
| 568 Zone* zone() const { return zone_; } | 568 Zone* zone() const { return zone_; } |
| 569 Handle<Script> script(); | 569 Handle<Script> script(); |
| 570 LanguageMode language_mode(); | 570 LanguageMode language_mode(); |
| 571 bool has_simple_parameters(); | 571 bool has_simple_parameters(); |
| 572 FunctionLiteral* literal() const; | 572 FunctionLiteral* literal() const; |
| 573 const FeedbackVectorSpec* feedback_vector_spec() const; |
| 573 Scope* scope() { return scope_; } | 574 Scope* scope() { return scope_; } |
| 574 | 575 |
| 575 static Register context_register(); | 576 static Register context_register(); |
| 576 | 577 |
| 577 // Get fields from the stack frame. Offsets are the frame pointer relative | 578 // Get fields from the stack frame. Offsets are the frame pointer relative |
| 578 // offsets defined in, e.g., StandardFrameConstants. | 579 // offsets defined in, e.g., StandardFrameConstants. |
| 579 void LoadFromFrameField(int frame_offset, Register value); | 580 void LoadFromFrameField(int frame_offset, Register value); |
| 580 // Set fields in the stack frame. Offsets are the frame pointer relative | 581 // Set fields in the stack frame. Offsets are the frame pointer relative |
| 581 // offsets defined in, e.g., StandardFrameConstants. | 582 // offsets defined in, e.g., StandardFrameConstants. |
| 582 void StoreToFrameField(int frame_offset, Register value); | 583 void StoreToFrameField(int frame_offset, Register value); |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 Address start_; | 896 Address start_; |
| 896 Address instruction_start_; | 897 Address instruction_start_; |
| 897 uint32_t length_; | 898 uint32_t length_; |
| 898 }; | 899 }; |
| 899 | 900 |
| 900 | 901 |
| 901 } // namespace internal | 902 } // namespace internal |
| 902 } // namespace v8 | 903 } // namespace v8 |
| 903 | 904 |
| 904 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 905 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
| OLD | NEW |