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

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

Issue 2111803003: DBC: Remove special case from CheckClassInstr. Cleanup. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
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 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 void InheritDeoptTargetAfter(FlowGraph* flow_graph, 884 void InheritDeoptTargetAfter(FlowGraph* flow_graph,
885 Definition* call, 885 Definition* call,
886 Definition* result); 886 Definition* result);
887 887
888 virtual bool MayThrow() const = 0; 888 virtual bool MayThrow() const = 0;
889 889
890 bool IsDominatedBy(Instruction* dom); 890 bool IsDominatedBy(Instruction* dom);
891 891
892 void ClearEnv() { env_ = NULL; } 892 void ClearEnv() { env_ = NULL; }
893 893
894 void Unsupported(FlowGraphCompiler* compiler);
895
894 protected: 896 protected:
895 // GetDeoptId and/or CopyDeoptIdFrom. 897 // GetDeoptId and/or CopyDeoptIdFrom.
896 friend class CallSiteInliner; 898 friend class CallSiteInliner;
897 friend class LICM; 899 friend class LICM;
898 friend class ComparisonInstr; 900 friend class ComparisonInstr;
899 friend class Scheduler; 901 friend class Scheduler;
900 friend class BlockEntryInstr; 902 friend class BlockEntryInstr;
901 903
902 // Fetch deopt id without checking if this computation can deoptimize. 904 // Fetch deopt id without checking if this computation can deoptimize.
903 intptr_t GetDeoptId() const { 905 intptr_t GetDeoptId() const {
(...skipping 7391 matching lines...) Expand 10 before | Expand all | Expand 10 after
8295 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ 8297 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \
8296 UNIMPLEMENTED(); \ 8298 UNIMPLEMENTED(); \
8297 return NULL; \ 8299 return NULL; \
8298 } \ 8300 } \
8299 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 8301 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
8300 8302
8301 8303
8302 } // namespace dart 8304 } // namespace dart
8303 8305
8304 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 8306 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698