Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: runtime/vm/intermediate_language.h

Issue 211873003: Incremental tuning/cleanup of inlining: --print-inline-tree changed to --print-inlining-tree. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698