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

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

Issue 10824349: Implement class id checks as a separate instruction and add a local CSE optimization pass. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | « no previous file | runtime/vm/code_generator.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) 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 VM_CODE_GENERATOR_H_ 5 #ifndef VM_CODE_GENERATOR_H_
6 #define VM_CODE_GENERATOR_H_ 6 #define VM_CODE_GENERATOR_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/runtime_entry.h" 9 #include "vm/runtime_entry.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 V(DeoptDoubleCompareDouble) \ 70 V(DeoptDoubleCompareDouble) \
71 V(DeoptEqualityNoFeedback) \ 71 V(DeoptEqualityNoFeedback) \
72 V(DeoptEqualityClassCheck) \ 72 V(DeoptEqualityClassCheck) \
73 V(DeoptDoubleComparison) \ 73 V(DeoptDoubleComparison) \
74 V(DeoptLoadIndexedFixedArray) \ 74 V(DeoptLoadIndexedFixedArray) \
75 V(DeoptLoadIndexedGrowableArray) \ 75 V(DeoptLoadIndexedGrowableArray) \
76 V(DeoptLoadIndexedPolymorphic) \ 76 V(DeoptLoadIndexedPolymorphic) \
77 V(DeoptNoTypeFeedback) \ 77 V(DeoptNoTypeFeedback) \
78 V(DeoptSAR) \ 78 V(DeoptSAR) \
79 V(DeoptUnaryOp) \ 79 V(DeoptUnaryOp) \
80 V(DeoptCheckClass)
80 81
81 enum DeoptReasonId { 82 enum DeoptReasonId {
82 #define DEFINE_ENUM_LIST(name) k##name, 83 #define DEFINE_ENUM_LIST(name) k##name,
83 DEOPT_REASONS(DEFINE_ENUM_LIST) 84 DEOPT_REASONS(DEFINE_ENUM_LIST)
84 #undef DEFINE_ENUM_LIST 85 #undef DEFINE_ENUM_LIST
85 }; 86 };
86 87
87 88
88 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, 89 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate,
89 const Instance& receiver); 90 const Instance& receiver);
90 91
91 } // namespace dart 92 } // namespace dart
92 93
93 #endif // VM_CODE_GENERATOR_H_ 94 #endif // VM_CODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698