| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 bool IsNextBlock(BlockEntryInstr* block_entry) const; | 178 bool IsNextBlock(BlockEntryInstr* block_entry) const; |
| 179 | 179 |
| 180 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); | 180 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); |
| 181 void AddCurrentDescriptor(PcDescriptors::Kind kind, | 181 void AddCurrentDescriptor(PcDescriptors::Kind kind, |
| 182 intptr_t deopt_id, | 182 intptr_t deopt_id, |
| 183 intptr_t token_pos, | 183 intptr_t token_pos, |
| 184 intptr_t try_index); | 184 intptr_t try_index); |
| 185 | 185 |
| 186 void RecordSafepoint(LocationSummary* locs); | 186 void RecordSafepoint(LocationSummary* locs); |
| 187 | 187 |
| 188 Label* AddDeoptStub(intptr_t deopt_id, | 188 Label* AddDeoptStub(intptr_t deopt_id, DeoptReasonId reason); |
| 189 intptr_t try_index_, | |
| 190 DeoptReasonId reason); | |
| 191 | 189 |
| 192 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); | 190 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); |
| 193 | 191 |
| 194 void AddSlowPathCode(SlowPathCode* slow_path); | 192 void AddSlowPathCode(SlowPathCode* slow_path); |
| 195 | 193 |
| 196 void FinalizeExceptionHandlers(const Code& code); | 194 void FinalizeExceptionHandlers(const Code& code); |
| 197 void FinalizePcDescriptors(const Code& code); | 195 void FinalizePcDescriptors(const Code& code); |
| 198 void FinalizeDeoptInfo(const Code& code); | 196 void FinalizeDeoptInfo(const Code& code); |
| 199 void FinalizeStackmaps(const Code& code); | 197 void FinalizeStackmaps(const Code& code); |
| 200 void FinalizeVarDescriptors(const Code& code); | 198 void FinalizeVarDescriptors(const Code& code); |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 // that should be used when deoptimizing we store it in this variable. | 325 // that should be used when deoptimizing we store it in this variable. |
| 328 // In future AddDeoptStub should be moved out of the instruction template. | 326 // In future AddDeoptStub should be moved out of the instruction template. |
| 329 Environment* pending_deoptimization_env_; | 327 Environment* pending_deoptimization_env_; |
| 330 | 328 |
| 331 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 329 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 332 }; | 330 }; |
| 333 | 331 |
| 334 } // namespace dart | 332 } // namespace dart |
| 335 | 333 |
| 336 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 334 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| OLD | NEW |