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

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: Merge to head 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
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/flow_graph_optimizer.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_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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 bool TryReplaceWithBinaryOp(InstanceCallInstr* call, Token::Kind op_kind); 77 bool TryReplaceWithBinaryOp(InstanceCallInstr* call, Token::Kind op_kind);
78 bool TryReplaceWithUnaryOp(InstanceCallInstr* call, Token::Kind op_kind); 78 bool TryReplaceWithUnaryOp(InstanceCallInstr* call, Token::Kind op_kind);
79 79
80 bool TryInlineInstanceGetter(InstanceCallInstr* call); 80 bool TryInlineInstanceGetter(InstanceCallInstr* call);
81 bool TryInlineInstanceSetter(InstanceCallInstr* call, 81 bool TryInlineInstanceSetter(InstanceCallInstr* call,
82 const ICData& unary_ic_data); 82 const ICData& unary_ic_data);
83 83
84 bool TryInlineInstanceMethod(InstanceCallInstr* call); 84 bool TryInlineInstanceMethod(InstanceCallInstr* call);
85 void ReplaceWithInstanceOf(InstanceCallInstr* instr); 85 void ReplaceWithInstanceOf(InstanceCallInstr* instr);
86 86
87 LoadIndexedInstr* BuildStringCharCodeAt(InstanceCallInstr* call, 87 LoadIndexedInstr* BuildStringCodeUnitAt(InstanceCallInstr* call,
88 intptr_t cid); 88 intptr_t cid);
89 89
90 LoadIndexedInstr* BuildByteArrayViewLoad(InstanceCallInstr* call, 90 LoadIndexedInstr* BuildByteArrayViewLoad(InstanceCallInstr* call,
91 intptr_t receiver_cid, 91 intptr_t receiver_cid,
92 intptr_t view_cid); 92 intptr_t view_cid);
93 93
94 // Insert a check of 'to_check' determined by 'unary_checks'. If the 94 // Insert a check of 'to_check' determined by 'unary_checks'. If the
95 // check fails it will deoptimize to 'deopt_id' using the deoptimization 95 // check fails it will deoptimize to 'deopt_id' using the deoptimization
96 // environment 'deopt_environment'. The check is inserted immediately 96 // environment 'deopt_environment'. The check is inserted immediately
97 // before 'insert_before'. 97 // before 'insert_before'.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 // Worklists of blocks and definitions. 251 // Worklists of blocks and definitions.
252 GrowableArray<BlockEntryInstr*> block_worklist_; 252 GrowableArray<BlockEntryInstr*> block_worklist_;
253 GrowableArray<Definition*> definition_worklist_; 253 GrowableArray<Definition*> definition_worklist_;
254 }; 254 };
255 255
256 256
257 } // namespace dart 257 } // namespace dart
258 258
259 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_ 259 #endif // VM_FLOW_GRAPH_OPTIMIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698