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_H_ | 5 #ifndef V8_FULL_CODEGEN_H_ |
6 #define V8_FULL_CODEGEN_H_ | 6 #define V8_FULL_CODEGEN_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 MacroAssembler* masm() { return masm_; } | 678 MacroAssembler* masm() { return masm_; } |
679 | 679 |
680 class ExpressionContext; | 680 class ExpressionContext; |
681 const ExpressionContext* context() { return context_; } | 681 const ExpressionContext* context() { return context_; } |
682 void set_new_context(const ExpressionContext* context) { context_ = context; } | 682 void set_new_context(const ExpressionContext* context) { context_ = context; } |
683 | 683 |
684 Handle<Script> script() { return info_->script(); } | 684 Handle<Script> script() { return info_->script(); } |
685 bool is_eval() { return info_->is_eval(); } | 685 bool is_eval() { return info_->is_eval(); } |
686 bool is_native() { return info_->is_native(); } | 686 bool is_native() { return info_->is_native(); } |
687 LanguageMode language_mode() { return function()->language_mode(); } | 687 LanguageMode language_mode() { return function()->language_mode(); } |
| 688 bool is_simple_parameter_list() { return info_->is_simple_parameter_list(); } |
688 FunctionLiteral* function() { return info_->function(); } | 689 FunctionLiteral* function() { return info_->function(); } |
689 Scope* scope() { return scope_; } | 690 Scope* scope() { return scope_; } |
690 | 691 |
691 static Register result_register(); | 692 static Register result_register(); |
692 static Register context_register(); | 693 static Register context_register(); |
693 | 694 |
694 // Set fields in the stack frame. Offsets are the frame pointer relative | 695 // Set fields in the stack frame. Offsets are the frame pointer relative |
695 // offsets defined in, e.g., StandardFrameConstants. | 696 // offsets defined in, e.g., StandardFrameConstants. |
696 void StoreToFrameField(int frame_offset, Register value); | 697 void StoreToFrameField(int frame_offset, Register value); |
697 | 698 |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 | 1049 |
1049 Address start_; | 1050 Address start_; |
1050 Address instruction_start_; | 1051 Address instruction_start_; |
1051 uint32_t length_; | 1052 uint32_t length_; |
1052 }; | 1053 }; |
1053 | 1054 |
1054 | 1055 |
1055 } } // namespace v8::internal | 1056 } } // namespace v8::internal |
1056 | 1057 |
1057 #endif // V8_FULL_CODEGEN_H_ | 1058 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |