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

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

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
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_FLOW_GRAPH_OPTIMIZER_H_ 5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_
6 #define VM_FLOW_GRAPH_OPTIMIZER_H_ 6 #define VM_FLOW_GRAPH_OPTIMIZER_H_
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 #include "vm/flow_graph.h" 9 #include "vm/flow_graph.h"
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool TryReplaceWithBinaryOp(InstanceCallInstr* call, Token::Kind op_kind); 67 bool TryReplaceWithBinaryOp(InstanceCallInstr* call, Token::Kind op_kind);
68 bool TryReplaceWithUnaryOp(InstanceCallInstr* call, Token::Kind op_kind); 68 bool TryReplaceWithUnaryOp(InstanceCallInstr* call, Token::Kind op_kind);
69 69
70 bool TryInlineInstanceGetter(InstanceCallInstr* call); 70 bool TryInlineInstanceGetter(InstanceCallInstr* call);
71 bool TryInlineInstanceSetter(InstanceCallInstr* call, 71 bool TryInlineInstanceSetter(InstanceCallInstr* call,
72 const ICData& unary_ic_data); 72 const ICData& unary_ic_data);
73 73
74 bool TryInlineInstanceMethod(InstanceCallInstr* call); 74 bool TryInlineInstanceMethod(InstanceCallInstr* call);
75 void ReplaceWithInstanceOf(InstanceCallInstr* instr); 75 void ReplaceWithInstanceOf(InstanceCallInstr* instr);
76 76
77 LoadIndexedInstr* BuildStringCharCodeAt(InstanceCallInstr* call, 77 LoadIndexedInstr* BuildStringCodeUnitAt(InstanceCallInstr* call,
78 intptr_t cid); 78 intptr_t cid);
79 79
80 LoadIndexedInstr* BuildByteArrayViewLoad(InstanceCallInstr* call, 80 LoadIndexedInstr* BuildByteArrayViewLoad(InstanceCallInstr* call,
81 intptr_t receiver_cid, 81 intptr_t receiver_cid,
82 intptr_t view_cid); 82 intptr_t view_cid);
83 83
84 // Insert a check of 'to_check' determined by 'unary_checks'. If the 84 // Insert a check of 'to_check' determined by 'unary_checks'. If the
85 // check fails it will deoptimize to 'deopt_id' using the deoptimization 85 // check fails it will deoptimize to 'deopt_id' using the deoptimization
86 // environment 'deopt_environment'. The check is inserted immediately 86 // environment 'deopt_environment'. The check is inserted immediately
87 // before 'insert_before'. 87 // before 'insert_before'.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 // Worklists of blocks and definitions. 231 // Worklists of blocks and definitions.
232 GrowableArray<BlockEntryInstr*> block_worklist_; 232 GrowableArray<BlockEntryInstr*> block_worklist_;
233 GrowableArray<Definition*> definition_worklist_; 233 GrowableArray<Definition*> definition_worklist_;
234 }; 234 };
235 235
236 236
237 } // namespace dart 237 } // namespace dart
238 238
239 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_ 239 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698