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

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

Issue 2325753002: Fix bug in AOT compiler where we would propogate a result type for instances calls where the target… (Closed)
Patch Set: review Created 4 years, 3 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
« no previous file with comments | « runtime/vm/flow_graph_inliner.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 2905 matching lines...) Expand 10 before | Expand all | Expand 10 after
2916 2916
2917 virtual intptr_t ArgumentCount() const { 2917 virtual intptr_t ArgumentCount() const {
2918 return instance_call()->ArgumentCount(); 2918 return instance_call()->ArgumentCount();
2919 } 2919 }
2920 virtual PushArgumentInstr* PushArgumentAt(intptr_t index) const { 2920 virtual PushArgumentInstr* PushArgumentAt(intptr_t index) const {
2921 return instance_call()->PushArgumentAt(index); 2921 return instance_call()->PushArgumentAt(index);
2922 } 2922 }
2923 2923
2924 bool HasSingleRecognizedTarget() const; 2924 bool HasSingleRecognizedTarget() const;
2925 2925
2926 bool HasOnlyDispatcherTargets() const;
2927
2928 virtual intptr_t CallCount() const { return ic_data().AggregateCount(); } 2926 virtual intptr_t CallCount() const { return ic_data().AggregateCount(); }
2929 2927
2930 DECLARE_INSTRUCTION(PolymorphicInstanceCall) 2928 DECLARE_INSTRUCTION(PolymorphicInstanceCall)
2931 2929
2932 const ICData& ic_data() const { return ic_data_; } 2930 const ICData& ic_data() const { return ic_data_; }
2933 2931
2934 virtual bool CanDeoptimize() const { return true; } 2932 virtual bool CanDeoptimize() const { return true; }
2935 2933
2936 virtual EffectSet Effects() const { return EffectSet::All(); } 2934 virtual EffectSet Effects() const { return EffectSet::All(); }
2937 2935
(...skipping 5361 matching lines...) Expand 10 before | Expand all | Expand 10 after
8299 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ 8297 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \
8300 UNIMPLEMENTED(); \ 8298 UNIMPLEMENTED(); \
8301 return NULL; \ 8299 return NULL; \
8302 } \ 8300 } \
8303 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 8301 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
8304 8302
8305 8303
8306 } // namespace dart 8304 } // namespace dart
8307 8305
8308 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8306 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698