| 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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 | 529 |
| 530 #if defined(TARGET_ARCH_DBC) | 530 #if defined(TARGET_ARCH_DBC) |
| 531 void EmitDeopt(intptr_t deopt_id, | 531 void EmitDeopt(intptr_t deopt_id, |
| 532 ICData::DeoptReasonId reason, | 532 ICData::DeoptReasonId reason, |
| 533 uint32_t flags = 0); | 533 uint32_t flags = 0); |
| 534 | 534 |
| 535 // If the cid does not fit in 16 bits, then this will cause a bailout. | 535 // If the cid does not fit in 16 bits, then this will cause a bailout. |
| 536 uint16_t ToEmbeddableCid(intptr_t cid, Instruction* instruction); | 536 uint16_t ToEmbeddableCid(intptr_t cid, Instruction* instruction); |
| 537 #endif // defined(TARGET_ARCH_DBC) | 537 #endif // defined(TARGET_ARCH_DBC) |
| 538 | 538 |
| 539 void AddDeoptIndexAtCall(intptr_t deopt_id, TokenPosition token_pos); | 539 void AddDeoptIndexAtCall(intptr_t deopt_id); |
| 540 | 540 |
| 541 void AddSlowPathCode(SlowPathCode* slow_path); | 541 void AddSlowPathCode(SlowPathCode* slow_path); |
| 542 | 542 |
| 543 void FinalizeExceptionHandlers(const Code& code); | 543 void FinalizeExceptionHandlers(const Code& code); |
| 544 void FinalizePcDescriptors(const Code& code); | 544 void FinalizePcDescriptors(const Code& code); |
| 545 RawArray* CreateDeoptInfo(Assembler* assembler); | 545 RawArray* CreateDeoptInfo(Assembler* assembler); |
| 546 void FinalizeStackmaps(const Code& code); | 546 void FinalizeStackmaps(const Code& code); |
| 547 void FinalizeVarDescriptors(const Code& code); | 547 void FinalizeVarDescriptors(const Code& code); |
| 548 void FinalizeStaticCallTargetsTable(const Code& code); | 548 void FinalizeStaticCallTargetsTable(const Code& code); |
| 549 | 549 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 const GrowableArray<const Function*>& inline_id_to_function_; | 829 const GrowableArray<const Function*>& inline_id_to_function_; |
| 830 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; | 830 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; |
| 831 const GrowableArray<intptr_t>& caller_inline_id_; | 831 const GrowableArray<intptr_t>& caller_inline_id_; |
| 832 | 832 |
| 833 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 833 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 834 }; | 834 }; |
| 835 | 835 |
| 836 } // namespace dart | 836 } // namespace dart |
| 837 | 837 |
| 838 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 838 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |