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

Side by Side Diff: vm/flow_graph_builder.h

Issue 10836239: Change indexed load and store IL instructions to fit with SSA backend. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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 | vm/flow_graph_builder.cc » ('j') | 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_FLOW_GRAPH_BUILDER_H_ 5 #ifndef VM_FLOW_GRAPH_BUILDER_H_
6 #define VM_FLOW_GRAPH_BUILDER_H_ 6 #define VM_FLOW_GRAPH_BUILDER_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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 Value* value, 199 Value* value,
200 const AbstractType& dst_type, 200 const AbstractType& dst_type,
201 const String& dst_name); 201 const String& dst_name);
202 202
203 // Perform a type check on the given value and return it. 203 // Perform a type check on the given value and return it.
204 Value* BuildAssignableValue(intptr_t token_pos, 204 Value* BuildAssignableValue(intptr_t token_pos,
205 Value* value, 205 Value* value,
206 const AbstractType& dst_type, 206 const AbstractType& dst_type,
207 const String& dst_name); 207 const String& dst_name);
208 208
209 void BuildStoreIndexedValues(StoreIndexedNode* node, 209 Computation* BuildStoreIndexedValues(StoreIndexedNode* node,
210 Value** array, 210 bool result_is_needed);
211 Value** index, 211
212 Value** value);
213 void BuildInstanceSetterArguments( 212 void BuildInstanceSetterArguments(
214 InstanceSetterNode* node, 213 InstanceSetterNode* node,
215 ZoneGrowableArray<PushArgumentInstr*>* arguments, 214 ZoneGrowableArray<PushArgumentInstr*>* arguments,
216 bool result_is_needed); 215 bool result_is_needed);
217 216
218 virtual void BuildTypeTest(ComparisonNode* node); 217 virtual void BuildTypeTest(ComparisonNode* node);
219 virtual void BuildTypeCast(ComparisonNode* node); 218 virtual void BuildTypeCast(ComparisonNode* node);
220 219
221 bool MustSaveRestoreContext(SequenceNode* node) const; 220 bool MustSaveRestoreContext(SequenceNode* node) const;
222 221
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // Output parameters. 371 // Output parameters.
373 TargetEntryInstr** true_successor_address_; 372 TargetEntryInstr** true_successor_address_;
374 TargetEntryInstr** false_successor_address_; 373 TargetEntryInstr** false_successor_address_;
375 374
376 intptr_t condition_token_pos_; 375 intptr_t condition_token_pos_;
377 }; 376 };
378 377
379 } // namespace dart 378 } // namespace dart
380 379
381 #endif // VM_FLOW_GRAPH_BUILDER_H_ 380 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | vm/flow_graph_builder.cc » ('j') | vm/flow_graph_optimizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698