| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 180 |
| 181 intptr_t StackSize() const; | 181 intptr_t StackSize() const; |
| 182 | 182 |
| 183 // Returns assembler label associated with the given block entry. | 183 // Returns assembler label associated with the given block entry. |
| 184 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; | 184 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; |
| 185 | 185 |
| 186 // Returns true if there is a next block after the current one in | 186 // Returns true if there is a next block after the current one in |
| 187 // the block order and if it is the given block. | 187 // the block order and if it is the given block. |
| 188 bool IsNextBlock(BlockEntryInstr* block_entry) const; | 188 bool IsNextBlock(BlockEntryInstr* block_entry) const; |
| 189 | 189 |
| 190 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); | 190 void AddExceptionHandler(intptr_t try_index, |
| 191 intptr_t outer_try_index, |
| 192 intptr_t pc_offset, |
| 193 const Array& handler_types); |
| 191 void AddCurrentDescriptor(PcDescriptors::Kind kind, | 194 void AddCurrentDescriptor(PcDescriptors::Kind kind, |
| 192 intptr_t deopt_id, | 195 intptr_t deopt_id, |
| 193 intptr_t token_pos); | 196 intptr_t token_pos); |
| 194 | 197 |
| 195 void RecordSafepoint(LocationSummary* locs); | 198 void RecordSafepoint(LocationSummary* locs); |
| 196 | 199 |
| 197 Label* AddDeoptStub(intptr_t deopt_id, DeoptReasonId reason); | 200 Label* AddDeoptStub(intptr_t deopt_id, DeoptReasonId reason); |
| 198 | 201 |
| 199 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); | 202 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); |
| 200 | 203 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 // that should be used when deoptimizing we store it in this variable. | 360 // that should be used when deoptimizing we store it in this variable. |
| 358 // In future AddDeoptStub should be moved out of the instruction template. | 361 // In future AddDeoptStub should be moved out of the instruction template. |
| 359 Environment* pending_deoptimization_env_; | 362 Environment* pending_deoptimization_env_; |
| 360 | 363 |
| 361 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 364 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 362 }; | 365 }; |
| 363 | 366 |
| 364 } // namespace dart | 367 } // namespace dart |
| 365 | 368 |
| 366 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 369 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| OLD | NEW |