| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 intptr_t token_index, | 119 intptr_t token_index, |
| 120 const Type& dst_type, | 120 const Type& dst_type, |
| 121 const String& dst_name); | 121 const String& dst_name); |
| 122 void GenerateArgumentTypeChecks(); | 122 void GenerateArgumentTypeChecks(); |
| 123 void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index); | 123 void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index); |
| 124 | 124 |
| 125 void GenerateInstantiatorTypeArguments(intptr_t token_index); | 125 void GenerateInstantiatorTypeArguments(intptr_t token_index); |
| 126 void GenerateTypeArguments(ConstructorCallNode* node, | 126 void GenerateTypeArguments(ConstructorCallNode* node, |
| 127 bool is_cls_parameterized); | 127 bool is_cls_parameterized); |
| 128 | 128 |
| 129 void TestClassAndJump(const Class& cls, Label *label); |
| 130 |
| 129 intptr_t locals_space_size() const { return locals_space_size_; } | 131 intptr_t locals_space_size() const { return locals_space_size_; } |
| 130 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } | 132 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } |
| 131 | 133 |
| 132 bool IsResultNeeded(AstNode* node) const; | 134 bool IsResultNeeded(AstNode* node) const; |
| 133 | 135 |
| 134 void GenerateCall(intptr_t token_index, const ExternalLabel* ext_label); | 136 void GenerateCall(intptr_t token_index, const ExternalLabel* ext_label); |
| 135 void GenerateCallRuntime(intptr_t node_id, | 137 void GenerateCallRuntime(intptr_t node_id, |
| 136 intptr_t token_index, | 138 intptr_t token_index, |
| 137 const RuntimeEntry& entry); | 139 const RuntimeEntry& entry); |
| 138 | 140 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 155 HandlerList* exception_handlers_list_; | 157 HandlerList* exception_handlers_list_; |
| 156 int try_index_; | 158 int try_index_; |
| 157 | 159 |
| 158 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); | 160 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); |
| 159 }; | 161 }; |
| 160 | 162 |
| 161 | 163 |
| 162 } // namespace dart | 164 } // namespace dart |
| 163 | 165 |
| 164 #endif // VM_CODE_GENERATOR_IA32_H_ | 166 #endif // VM_CODE_GENERATOR_IA32_H_ |
| OLD | NEW |