| 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_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/code_descriptors.h" | 10 #include "vm/code_descriptors.h" |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 void VisitBlocks(); | 278 void VisitBlocks(); |
| 279 | 279 |
| 280 // Bail out of the flow graph compiler. Does not return to the caller. | 280 // Bail out of the flow graph compiler. Does not return to the caller. |
| 281 void Bailout(const char* reason); | 281 void Bailout(const char* reason); |
| 282 | 282 |
| 283 void TryIntrinsify(); | 283 void TryIntrinsify(); |
| 284 | 284 |
| 285 void GenerateCallRuntime(intptr_t token_pos, | 285 void GenerateCallRuntime(intptr_t token_pos, |
| 286 intptr_t deopt_id, | 286 intptr_t deopt_id, |
| 287 const RuntimeEntry& entry, | 287 const RuntimeEntry& entry, |
| 288 intptr_t argument_count, |
| 288 LocationSummary* locs); | 289 LocationSummary* locs); |
| 289 | 290 |
| 290 void GenerateCall(intptr_t token_pos, | 291 void GenerateCall(intptr_t token_pos, |
| 291 const ExternalLabel* label, | 292 const ExternalLabel* label, |
| 292 PcDescriptors::Kind kind, | 293 PcDescriptors::Kind kind, |
| 293 LocationSummary* locs); | 294 LocationSummary* locs); |
| 294 | 295 |
| 295 void GenerateDartCall(intptr_t deopt_id, | 296 void GenerateDartCall(intptr_t deopt_id, |
| 296 intptr_t token_pos, | 297 intptr_t token_pos, |
| 297 const ExternalLabel* label, | 298 const ExternalLabel* label, |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 // that should be used when deoptimizing we store it in this variable. | 603 // that should be used when deoptimizing we store it in this variable. |
| 603 // In future AddDeoptStub should be moved out of the instruction template. | 604 // In future AddDeoptStub should be moved out of the instruction template. |
| 604 Environment* pending_deoptimization_env_; | 605 Environment* pending_deoptimization_env_; |
| 605 | 606 |
| 606 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 607 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 607 }; | 608 }; |
| 608 | 609 |
| 609 } // namespace dart | 610 } // namespace dart |
| 610 | 611 |
| 611 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 612 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |