| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_FLOW_GRAPH_COMPILER_IA32_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| 7 | 7 |
| 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ | 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
| 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h. | 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h. |
| 10 #endif | 10 #endif |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 152 |
| 153 void EmitDoubleCompareBranch(Condition true_condition, | 153 void EmitDoubleCompareBranch(Condition true_condition, |
| 154 XmmRegister left, | 154 XmmRegister left, |
| 155 XmmRegister right, | 155 XmmRegister right, |
| 156 BranchInstr* branch); | 156 BranchInstr* branch); |
| 157 void EmitDoubleCompareBool(Condition true_condition, | 157 void EmitDoubleCompareBool(Condition true_condition, |
| 158 XmmRegister left, | 158 XmmRegister left, |
| 159 XmmRegister right, | 159 XmmRegister right, |
| 160 Register result); | 160 Register result); |
| 161 | 161 |
| 162 void EmitEqualityRegConstCompare(Register reg, const Object& obj); | 162 void EmitEqualityRegConstCompare(Register reg, |
| 163 const Object& obj, |
| 164 bool needs_number_check); |
| 165 void EmitEqualityRegRegCompare(Register left, |
| 166 Register right, |
| 167 bool needs_number_check); |
| 163 // Implement equality: if any of the arguments is null do identity check. | 168 // Implement equality: if any of the arguments is null do identity check. |
| 164 // Fallthrough calls super equality. | 169 // Fallthrough calls super equality. |
| 165 void EmitSuperEqualityCallPrologue(Register result, Label* skip_call); | 170 void EmitSuperEqualityCallPrologue(Register result, Label* skip_call); |
| 166 | 171 |
| 167 intptr_t StackSize() const; | 172 intptr_t StackSize() const; |
| 168 | 173 |
| 169 // Returns assembler label associated with the given block entry. | 174 // Returns assembler label associated with the given block entry. |
| 170 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; | 175 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; |
| 171 | 176 |
| 172 // Returns true if there is a next block after the current one in | 177 // Returns true if there is a next block after the current one in |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // that should be used when deoptimizing we store it in this variable. | 345 // that should be used when deoptimizing we store it in this variable. |
| 341 // In future AddDeoptStub should be moved out of the instruction template. | 346 // In future AddDeoptStub should be moved out of the instruction template. |
| 342 Environment* pending_deoptimization_env_; | 347 Environment* pending_deoptimization_env_; |
| 343 | 348 |
| 344 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 349 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 345 }; | 350 }; |
| 346 | 351 |
| 347 } // namespace dart | 352 } // namespace dart |
| 348 | 353 |
| 349 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 354 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| OLD | NEW |