| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 Register value_reg); | 109 Register value_reg); |
| 110 | 110 |
| 111 void CallDeoptimize(intptr_t node_id, intptr_t token_index); | 111 void CallDeoptimize(intptr_t node_id, intptr_t token_index); |
| 112 | 112 |
| 113 void GenerateSmiUnaryOp(UnaryOpNode* node); | 113 void GenerateSmiUnaryOp(UnaryOpNode* node); |
| 114 void GenerateDoubleUnaryOp(UnaryOpNode* node); | 114 void GenerateDoubleUnaryOp(UnaryOpNode* node); |
| 115 | 115 |
| 116 void GenerateSmiBinaryOp(BinaryOpNode* node); | 116 void GenerateSmiBinaryOp(BinaryOpNode* node); |
| 117 void GenerateSmiShiftBinaryOp(BinaryOpNode* node); | 117 void GenerateSmiShiftBinaryOp(BinaryOpNode* node); |
| 118 | 118 |
| 119 void GenerateDoubleBinaryOp(BinaryOpNode* node); | 119 void GenerateDoubleBinaryOp(BinaryOpNode* node, bool receiver_can_be_smi); |
| 120 void GenerateMintBinaryOp(BinaryOpNode* node, bool allow_smi); | 120 void GenerateMintBinaryOp(BinaryOpNode* node, bool allow_smi); |
| 121 void CheckIfDoubleOrSmi(Register reg, | 121 void CheckIfDoubleOrSmi(Register reg, |
| 122 Register temp, | 122 Register temp, |
| 123 Label* is_smi, | 123 Label* is_smi, |
| 124 Label* not_double_or_smi); | 124 Label* not_double_or_smi); |
| 125 void GenerateDirectCall(intptr_t node_id, | 125 void GenerateDirectCall(intptr_t node_id, |
| 126 intptr_t token_index, | 126 intptr_t token_index, |
| 127 const Function& target, | 127 const Function& target, |
| 128 intptr_t arg_count, | 128 intptr_t arg_count, |
| 129 const Array& optional_argument_names); | 129 const Array& optional_argument_names); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 const Class& smi_class_; | 163 const Class& smi_class_; |
| 164 const Class& double_class_; | 164 const Class& double_class_; |
| 165 | 165 |
| 166 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); | 166 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 } // namespace dart | 169 } // namespace dart |
| 170 | 170 |
| 171 | 171 |
| 172 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ | 172 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ |
| OLD | NEW |