| 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 Zone* zone() const { return zone_; } | 532 Zone* zone() const { return zone_; } |
| 533 | 533 |
| 534 void AddStubCallTarget(const Code& code); | 534 void AddStubCallTarget(const Code& code); |
| 535 | 535 |
| 536 const Array& inlined_code_intervals() const { | 536 const Array& inlined_code_intervals() const { |
| 537 return inlined_code_intervals_; | 537 return inlined_code_intervals_; |
| 538 } | 538 } |
| 539 | 539 |
| 540 RawArray* InliningIdToFunction() const; | 540 RawArray* InliningIdToFunction() const; |
| 541 | 541 |
| 542 RawArray* CallerInliningIdMap() const; |
| 543 |
| 542 private: | 544 private: |
| 543 friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_. | 545 friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_. |
| 544 | 546 |
| 545 void EmitFrameEntry(); | 547 void EmitFrameEntry(); |
| 546 | 548 |
| 547 void AddStaticCallTarget(const Function& function); | 549 void AddStaticCallTarget(const Function& function); |
| 548 | 550 |
| 549 void GenerateDeferredCode(); | 551 void GenerateDeferredCode(); |
| 550 | 552 |
| 551 void EmitInstructionPrologue(Instruction* instr); | 553 void EmitInstructionPrologue(Instruction* instr); |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 Array& inlined_code_intervals_; | 719 Array& inlined_code_intervals_; |
| 718 const GrowableArray<const Function*>& inline_id_to_function_; | 720 const GrowableArray<const Function*>& inline_id_to_function_; |
| 719 const GrowableArray<intptr_t>& caller_inline_id_; | 721 const GrowableArray<intptr_t>& caller_inline_id_; |
| 720 | 722 |
| 721 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 723 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 722 }; | 724 }; |
| 723 | 725 |
| 724 } // namespace dart | 726 } // namespace dart |
| 725 | 727 |
| 726 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 728 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |