| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 2956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2967 InstanceCallInstr* instance_call() const { return instance_call_; } | 2967 InstanceCallInstr* instance_call() const { return instance_call_; } |
| 2968 bool with_checks() const { return with_checks_; } | 2968 bool with_checks() const { return with_checks_; } |
| 2969 | 2969 |
| 2970 virtual intptr_t ArgumentCount() const { | 2970 virtual intptr_t ArgumentCount() const { |
| 2971 return instance_call()->ArgumentCount(); | 2971 return instance_call()->ArgumentCount(); |
| 2972 } | 2972 } |
| 2973 virtual PushArgumentInstr* PushArgumentAt(intptr_t index) const { | 2973 virtual PushArgumentInstr* PushArgumentAt(intptr_t index) const { |
| 2974 return instance_call()->PushArgumentAt(index); | 2974 return instance_call()->PushArgumentAt(index); |
| 2975 } | 2975 } |
| 2976 | 2976 |
| 2977 bool HasRecognizedTarget() const; | 2977 bool HasSingleRecognizedTarget() const; |
| 2978 | 2978 |
| 2979 virtual intptr_t CallCount() const { return ic_data().AggregateCount(); } | 2979 virtual intptr_t CallCount() const { return ic_data().AggregateCount(); } |
| 2980 | 2980 |
| 2981 DECLARE_INSTRUCTION(PolymorphicInstanceCall) | 2981 DECLARE_INSTRUCTION(PolymorphicInstanceCall) |
| 2982 | 2982 |
| 2983 const ICData& ic_data() const { return ic_data_; } | 2983 const ICData& ic_data() const { return ic_data_; } |
| 2984 | 2984 |
| 2985 virtual bool CanDeoptimize() const { return true; } | 2985 virtual bool CanDeoptimize() const { return true; } |
| 2986 | 2986 |
| 2987 virtual EffectSet Effects() const { return EffectSet::All(); } | 2987 virtual EffectSet Effects() const { return EffectSet::All(); } |
| (...skipping 4735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7723 ForwardInstructionIterator* current_iterator_; | 7723 ForwardInstructionIterator* current_iterator_; |
| 7724 | 7724 |
| 7725 private: | 7725 private: |
| 7726 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 7726 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 7727 }; | 7727 }; |
| 7728 | 7728 |
| 7729 | 7729 |
| 7730 } // namespace dart | 7730 } // namespace dart |
| 7731 | 7731 |
| 7732 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 7732 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |