OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_CODE_GENERATOR_IA32_H_ | 5 #ifndef VM_CODE_GENERATOR_IA32_H_ |
6 #define VM_CODE_GENERATOR_IA32_H_ | 6 #define VM_CODE_GENERATOR_IA32_H_ |
7 | 7 |
8 #ifndef VM_CODE_GENERATOR_H_ | 8 #ifndef VM_CODE_GENERATOR_H_ |
9 #error Do not include code_generator_ia32.h directly; use code_generator.h. | 9 #error Do not include code_generator_ia32.h directly; use code_generator.h. |
10 #endif | 10 #endif |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 void GenerateInstanceOf(intptr_t token_index, | 114 void GenerateInstanceOf(intptr_t token_index, |
115 const Type& type, | 115 const Type& type, |
116 bool negate_result); | 116 bool negate_result); |
117 void GenerateAssertAssignable(intptr_t token_index, | 117 void GenerateAssertAssignable(intptr_t token_index, |
118 const Type& dst_type, | 118 const Type& dst_type, |
119 const String& dst_name); | 119 const String& dst_name); |
120 void GenerateArgumentTypeChecks(); | 120 void GenerateArgumentTypeChecks(); |
121 void GenerateConditionTypeCheck(intptr_t token_index); | 121 void GenerateConditionTypeCheck(intptr_t token_index); |
122 | 122 |
| 123 void GenerateInstantiatorTypeArguments(); |
123 void GenerateTypeArguments(ConstructorCallNode* node, | 124 void GenerateTypeArguments(ConstructorCallNode* node, |
124 bool is_cls_parameterized); | 125 bool is_cls_parameterized); |
125 | 126 |
126 intptr_t locals_space_size() const { return locals_space_size_; } | 127 intptr_t locals_space_size() const { return locals_space_size_; } |
127 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } | 128 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } |
128 | 129 |
129 bool IsResultNeeded(AstNode* node) const; | 130 bool IsResultNeeded(AstNode* node) const; |
130 | 131 |
131 void GenerateCall(intptr_t token_index, const ExternalLabel* ext_label); | 132 void GenerateCall(intptr_t token_index, const ExternalLabel* ext_label); |
132 void GenerateCallRuntime(intptr_t token_index, const RuntimeEntry& entry); | 133 void GenerateCallRuntime(intptr_t token_index, const RuntimeEntry& entry); |
(...skipping 17 matching lines...) Expand all Loading... |
150 HandlerList* exception_handlers_list_; | 151 HandlerList* exception_handlers_list_; |
151 int try_index_; | 152 int try_index_; |
152 | 153 |
153 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); | 154 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); |
154 }; | 155 }; |
155 | 156 |
156 | 157 |
157 } // namespace dart | 158 } // namespace dart |
158 | 159 |
159 #endif // VM_CODE_GENERATOR_IA32_H_ | 160 #endif // VM_CODE_GENERATOR_IA32_H_ |
OLD | NEW |