| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 bool GenerateSmiComparison(ComparisonNode* node); | 94 bool GenerateSmiComparison(ComparisonNode* node); |
| 95 bool GenerateDoubleComparison(ComparisonNode* node); | 95 bool GenerateDoubleComparison(ComparisonNode* node); |
| 96 bool GenerateEqualityComparison(ComparisonNode* node); | 96 bool GenerateEqualityComparison(ComparisonNode* node); |
| 97 void GenerateLogicalBinaryOp(BinaryOpNode* node); | 97 void GenerateLogicalBinaryOp(BinaryOpNode* node); |
| 98 void GenerateConditionalJumps(const CodeGenInfo& nInfo, Condition condition); | 98 void GenerateConditionalJumps(const CodeGenInfo& nInfo, Condition condition); |
| 99 bool TryInlineInstanceCall(InstanceCallNode* node); | 99 bool TryInlineInstanceCall(InstanceCallNode* node); |
| 100 bool TryInlineStaticCall(StaticCallNode* node); | 100 bool TryInlineStaticCall(StaticCallNode* node); |
| 101 bool GenerateCheckedInstanceCalls(InstanceCallNode* node); | 101 bool GenerateCheckedInstanceCalls(InstanceCallNode* node); |
| 102 void GenerateDirectInstanceCall(InstanceCallNode* node, const Class& cls); | 102 void GenerateDirectInstanceCall(InstanceCallNode* node, const Class& cls); |
| 103 | 103 |
| 104 | |
| 105 bool IsResultInEaxRequested(AstNode* node) const; | 104 bool IsResultInEaxRequested(AstNode* node) const; |
| 106 bool NodeMayBeSmi(AstNode* node) const; | 105 bool NodeMayBeSmi(AstNode* node) const; |
| 107 | 106 |
| 108 void PrintCollectedClasses(AstNode* node); | 107 void PrintCollectedClasses(AstNode* node); |
| 109 void TraceOpt(AstNode* node, const char* message); | 108 void TraceOpt(AstNode* node, const char* message); |
| 110 void TraceNotOpt(AstNode* node, const char* message); | 109 void TraceNotOpt(AstNode* node, const char* message); |
| 111 | 110 |
| 112 GrowableArray<DeoptimizationBlob*> deoptimization_blobs_; | 111 GrowableArray<DeoptimizationBlob*> deoptimization_blobs_; |
| 113 const Class& smi_class_; | 112 const Class& smi_class_; |
| 114 const Class& double_class_; | 113 const Class& double_class_; |
| 115 | 114 |
| 116 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); | 115 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); |
| 117 }; | 116 }; |
| 118 | 117 |
| 119 } // namespace dart | 118 } // namespace dart |
| 120 | 119 |
| 121 | 120 |
| 122 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ | 121 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ |
| OLD | NEW |