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

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

Issue 11360033: Inline native String.charCodeAt in optimized code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed a bug in indexed ops and added more tests Created 8 years, 1 month 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/flow_graph_optimizer.cc » ('j') | runtime/vm/flow_graph_optimizer.cc » ('J')
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 V(EqualityClassCheck) \ 77 V(EqualityClassCheck) \
78 V(DoubleComparison) \ 78 V(DoubleComparison) \
79 V(LoadIndexedFixedArray) \ 79 V(LoadIndexedFixedArray) \
80 V(LoadIndexedGrowableArray) \ 80 V(LoadIndexedGrowableArray) \
81 V(LoadIndexedPolymorphic) \ 81 V(LoadIndexedPolymorphic) \
82 V(NoTypeFeedback) \ 82 V(NoTypeFeedback) \
83 V(UnaryOp) \ 83 V(UnaryOp) \
84 V(UnboxInteger) \ 84 V(UnboxInteger) \
85 V(CheckClass) \ 85 V(CheckClass) \
86 V(CheckSmi) \ 86 V(CheckSmi) \
87 V(CheckArrayBound) \
87 V(AtCall) \ 88 V(AtCall) \
88 V(NumReasons) \ 89 V(NumReasons) \
89 90
90 enum DeoptReasonId { 91 enum DeoptReasonId {
91 #define DEFINE_ENUM_LIST(name) kDeopt##name, 92 #define DEFINE_ENUM_LIST(name) kDeopt##name,
92 DEOPT_REASONS(DEFINE_ENUM_LIST) 93 DEOPT_REASONS(DEFINE_ENUM_LIST)
93 #undef DEFINE_ENUM_LIST 94 #undef DEFINE_ENUM_LIST
94 }; 95 };
95 96
96 97
97 const char* DeoptReasonToText(intptr_t deopt_id); 98 const char* DeoptReasonToText(intptr_t deopt_id);
98 99
99 100
100 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, 101 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate,
101 const Instance& receiver); 102 const Instance& receiver);
102 103
103 void DeoptimizeAll(); 104 void DeoptimizeAll();
104 105
105 } // namespace dart 106 } // namespace dart
106 107
107 #endif // VM_CODE_GENERATOR_H_ 108 #endif // VM_CODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | runtime/vm/flow_graph_optimizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698