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 RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ | 5 #ifndef RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ |
6 #define RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ | 6 #define RUNTIME_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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
598 | 598 |
599 void AddStubCallTarget(const Code& code); | 599 void AddStubCallTarget(const Code& code); |
600 | 600 |
601 RawArray* edge_counters_array() const { return edge_counters_array_.raw(); } | 601 RawArray* edge_counters_array() const { return edge_counters_array_.raw(); } |
602 | 602 |
603 RawArray* InliningIdToFunction() const; | 603 RawArray* InliningIdToFunction() const; |
604 | 604 |
605 void BeginCodeSourceRange(); | 605 void BeginCodeSourceRange(); |
606 void EndCodeSourceRange(TokenPosition token_pos); | 606 void EndCodeSourceRange(TokenPosition token_pos); |
607 | 607 |
608 static bool LookupMethodFor(int class_id, | 608 static bool LookupMethodFor(int class_id, |
Vyacheslav Egorov (Google)
2017/06/28 13:53:47
If possible please exclude abstract class change f
erikcorry
2017/07/03 08:59:55
Done.
| |
609 const String& name, | 609 const String& name, |
610 const ArgumentsDescriptor& args_desc, | 610 const ArgumentsDescriptor& args_desc, |
611 Function* fn_return); | 611 Function* fn_return, |
612 bool* class_is_abstract_return = NULL); | |
612 | 613 |
613 #if defined(TARGET_ARCH_DBC) | 614 #if defined(TARGET_ARCH_DBC) |
614 enum CallResult { | 615 enum CallResult { |
615 kHasResult, | 616 kHasResult, |
616 kNoResult, | 617 kNoResult, |
617 }; | 618 }; |
618 void RecordAfterCallHelper(TokenPosition token_pos, | 619 void RecordAfterCallHelper(TokenPosition token_pos, |
619 intptr_t deopt_id, | 620 intptr_t deopt_id, |
620 intptr_t argument_count, | 621 intptr_t argument_count, |
621 CallResult result, | 622 CallResult result, |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
840 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; | 841 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; |
841 | 842 |
842 Array& edge_counters_array_; | 843 Array& edge_counters_array_; |
843 | 844 |
844 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 845 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
845 }; | 846 }; |
846 | 847 |
847 } // namespace dart | 848 } // namespace dart |
848 | 849 |
849 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ | 850 #endif // RUNTIME_VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |