| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_X64_H_ | 5 #ifndef VM_CODE_GENERATOR_X64_H_ |
| 6 #define VM_CODE_GENERATOR_X64_H_ | 6 #define VM_CODE_GENERATOR_X64_H_ |
| 7 | 7 |
| 8 #ifndef VM_CODE_GENERATOR_H_ | 8 #ifndef VM_CODE_GENERATOR_H_ |
| 9 #error Do not include code_generator_x64.h directly; use code_generator.h. | 9 #error Do not include code_generator_x64.h directly; use code_generator.h. |
| 10 #endif | 10 #endif |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 bool negate_result); | 169 bool negate_result); |
| 170 void GenerateAssertAssignable(intptr_t node_id, | 170 void GenerateAssertAssignable(intptr_t node_id, |
| 171 intptr_t token_index, | 171 intptr_t token_index, |
| 172 AstNode* value, | 172 AstNode* value, |
| 173 const AbstractType& dst_type, | 173 const AbstractType& dst_type, |
| 174 const String& dst_name); | 174 const String& dst_name); |
| 175 void GenerateArgumentTypeChecks(); | 175 void GenerateArgumentTypeChecks(); |
| 176 void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index); | 176 void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index); |
| 177 | 177 |
| 178 void GenerateInstantiatorTypeArguments(intptr_t token_index); | 178 void GenerateInstantiatorTypeArguments(intptr_t token_index); |
| 179 void GenerateTypeArguments(ConstructorCallNode* node, | 179 void GenerateTypeArguments(intptr_t node_id, |
| 180 bool is_cls_parameterized); | 180 intptr_t token_index, |
| 181 const AbstractTypeArguments& type_arguments, |
| 182 bool instantiate_type_arguments); |
| 181 | 183 |
| 182 void TestClassAndJump(const Class& cls, Label *label); | 184 void TestClassAndJump(const Class& cls, Label *label); |
| 183 | 185 |
| 184 intptr_t locals_space_size() const { return locals_space_size_; } | 186 intptr_t locals_space_size() const { return locals_space_size_; } |
| 185 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } | 187 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } |
| 186 | 188 |
| 187 bool IsResultNeeded(AstNode* node) const; | 189 bool IsResultNeeded(AstNode* node) const; |
| 188 | 190 |
| 189 void GenerateCall(intptr_t token_index, | 191 void GenerateCall(intptr_t token_index, |
| 190 const ExternalLabel* ext_label, | 192 const ExternalLabel* ext_label, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // allocated and chained to the list of contexts. | 224 // allocated and chained to the list of contexts. |
| 223 intptr_t context_level_; | 225 intptr_t context_level_; |
| 224 | 226 |
| 225 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); | 227 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); |
| 226 }; | 228 }; |
| 227 | 229 |
| 228 | 230 |
| 229 } // namespace dart | 231 } // namespace dart |
| 230 | 232 |
| 231 #endif // VM_CODE_GENERATOR_X64_H_ | 233 #endif // VM_CODE_GENERATOR_X64_H_ |
| OLD | NEW |