| 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_OPT_CODE_GENERATOR_IA32_H_ | 5 #ifndef VM_OPT_CODE_GENERATOR_IA32_H_ |
| 6 #define VM_OPT_CODE_GENERATOR_IA32_H_ | 6 #define VM_OPT_CODE_GENERATOR_IA32_H_ |
| 7 | 7 |
| 8 #ifndef VM_OPT_CODE_GENERATOR_H_ | 8 #ifndef VM_OPT_CODE_GENERATOR_H_ |
| 9 #error Do not include opt_code_generator_ia32.h; use opt_code_generator.h. | 9 #error Do not include opt_code_generator_ia32.h; use opt_code_generator.h. |
| 10 #endif | 10 #endif |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 bool GenerateEqualityComparison(ComparisonNode* node); | 148 bool GenerateEqualityComparison(ComparisonNode* node); |
| 149 void GenerateLogicalBinaryOp(BinaryOpNode* node); | 149 void GenerateLogicalBinaryOp(BinaryOpNode* node); |
| 150 void GenerateConditionalJumps(const CodeGenInfo& nInfo, Condition condition); | 150 void GenerateConditionalJumps(const CodeGenInfo& nInfo, Condition condition); |
| 151 bool TryInlineInstanceCall(InstanceCallNode* node); | 151 bool TryInlineInstanceCall(InstanceCallNode* node); |
| 152 bool TryInlineStaticCall(StaticCallNode* node); | 152 bool TryInlineStaticCall(StaticCallNode* node); |
| 153 | 153 |
| 154 bool IsResultInEaxRequested(AstNode* node) const; | 154 bool IsResultInEaxRequested(AstNode* node) const; |
| 155 bool NodeMayBeSmi(AstNode* node) const; | 155 bool NodeMayBeSmi(AstNode* node) const; |
| 156 | 156 |
| 157 void HandleResult(AstNode* node, Register result_reg); | 157 void HandleResult(AstNode* node, Register result_reg); |
| 158 void PropagateBackLocalClass(AstNode* node, const Class& cls); |
| 158 | 159 |
| 159 void PrintCollectedClassesAtId(AstNode* node, intptr_t id); | 160 void PrintCollectedClassesAtId(AstNode* node, intptr_t id); |
| 160 void TraceOpt(AstNode* node, const char* message); | 161 void TraceOpt(AstNode* node, const char* message); |
| 161 void TraceNotOpt(AstNode* node, const char* message); | 162 void TraceNotOpt(AstNode* node, const char* message); |
| 162 | 163 |
| 163 GrowableArray<DeoptimizationBlob*> deoptimization_blobs_; | 164 GrowableArray<DeoptimizationBlob*> deoptimization_blobs_; |
| 164 ClassesForLocals* classes_for_locals_; | 165 ClassesForLocals* classes_for_locals_; |
| 165 const Class& smi_class_; | 166 const Class& smi_class_; |
| 166 const Class& double_class_; | 167 const Class& double_class_; |
| 167 | 168 |
| 168 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); | 169 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); |
| 169 }; | 170 }; |
| 170 | 171 |
| 171 } // namespace dart | 172 } // namespace dart |
| 172 | 173 |
| 173 | 174 |
| 174 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ | 175 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ |
| OLD | NEW |