| 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_X64_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_X64_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_x64.h. | 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. |
| 10 #endif | 10 #endif |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 void EmitDoubleCompareBool(Condition true_condition, | 152 void EmitDoubleCompareBool(Condition true_condition, |
| 153 XmmRegister left, | 153 XmmRegister left, |
| 154 XmmRegister right, | 154 XmmRegister right, |
| 155 Register result); | 155 Register result); |
| 156 | 156 |
| 157 intptr_t StackSize() const; | 157 intptr_t StackSize() const; |
| 158 | 158 |
| 159 // Returns assembler label associated with the given block entry. | 159 // Returns assembler label associated with the given block entry. |
| 160 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; | 160 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; |
| 161 | 161 |
| 162 // Returns true if the next block after current in the current block order | 162 // Returns true if there is a next block after the current one in |
| 163 // is the given block. | 163 // the block order and if it is the given block. |
| 164 bool IsNextBlock(TargetEntryInstr* block_entry) const; | 164 bool IsNextBlock(BlockEntryInstr* block_entry) const; |
| 165 | 165 |
| 166 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); | 166 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); |
| 167 void AddCurrentDescriptor(PcDescriptors::Kind kind, | 167 void AddCurrentDescriptor(PcDescriptors::Kind kind, |
| 168 intptr_t cid, | 168 intptr_t cid, |
| 169 intptr_t token_pos, | 169 intptr_t token_pos, |
| 170 intptr_t try_index); | 170 intptr_t try_index); |
| 171 Label* AddDeoptStub(intptr_t deopt_id, | 171 Label* AddDeoptStub(intptr_t deopt_id, |
| 172 intptr_t deopt_token_pos, | 172 intptr_t deopt_token_pos, |
| 173 intptr_t try_index_, | 173 intptr_t try_index_, |
| 174 DeoptReasonId reason, | 174 DeoptReasonId reason, |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 // that should be used when deoptimizing we store it in this variable. | 307 // that should be used when deoptimizing we store it in this variable. |
| 308 // In future AddDeoptStub should be moved out of the instruction template. | 308 // In future AddDeoptStub should be moved out of the instruction template. |
| 309 Environment* pending_deoptimization_env_; | 309 Environment* pending_deoptimization_env_; |
| 310 | 310 |
| 311 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 311 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 312 }; | 312 }; |
| 313 | 313 |
| 314 } // namespace dart | 314 } // namespace dart |
| 315 | 315 |
| 316 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 316 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |