| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool preserve_value); | 167 bool preserve_value); |
| 168 | 168 |
| 169 void GenerateInstanceCall(intptr_t node_id, | 169 void GenerateInstanceCall(intptr_t node_id, |
| 170 intptr_t token_index, | 170 intptr_t token_index, |
| 171 const String& function_name, | 171 const String& function_name, |
| 172 int num_arguments, | 172 int num_arguments, |
| 173 const Array& optional_arguments_names); | 173 const Array& optional_arguments_names); |
| 174 | 174 |
| 175 void GenerateInstanceOf(intptr_t node_id, | 175 void GenerateInstanceOf(intptr_t node_id, |
| 176 intptr_t token_index, | 176 intptr_t token_index, |
| 177 const Type& type, | 177 const AbstractType& type, |
| 178 bool negate_result); | 178 bool negate_result); |
| 179 void GenerateAssertAssignable(intptr_t node_id, | 179 void GenerateAssertAssignable(intptr_t node_id, |
| 180 intptr_t token_index, | 180 intptr_t token_index, |
| 181 const Type& dst_type, | 181 const AbstractType& dst_type, |
| 182 const String& dst_name); | 182 const String& dst_name); |
| 183 void GenerateArgumentTypeChecks(); | 183 void GenerateArgumentTypeChecks(); |
| 184 void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index); | 184 void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index); |
| 185 | 185 |
| 186 void GenerateInstantiatorTypeArguments(intptr_t token_index); | 186 void GenerateInstantiatorTypeArguments(intptr_t token_index); |
| 187 void GenerateTypeArguments(ConstructorCallNode* node, | 187 void GenerateTypeArguments(ConstructorCallNode* node, |
| 188 bool is_cls_parameterized); | 188 bool is_cls_parameterized); |
| 189 | 189 |
| 190 void TestClassAndJump(const Class& cls, Label *label); | 190 void TestClassAndJump(const Class& cls, Label *label); |
| 191 | 191 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 218 HandlerList* exception_handlers_list_; | 218 HandlerList* exception_handlers_list_; |
| 219 int try_index_; | 219 int try_index_; |
| 220 | 220 |
| 221 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); | 221 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 | 224 |
| 225 } // namespace dart | 225 } // namespace dart |
| 226 | 226 |
| 227 #endif // VM_CODE_GENERATOR_IA32_H_ | 227 #endif // VM_CODE_GENERATOR_IA32_H_ |
| OLD | NEW |