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

Side by Side Diff: vm/flow_graph_builder.h

Issue 10826097: Use explicit push-argument for InstanceSetter instruction. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Fix syntax error 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/intermediate_language.h » ('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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Perform a type check on the given value and return it. 186 // Perform a type check on the given value and return it.
187 Value* BuildAssignableValue(intptr_t token_pos, 187 Value* BuildAssignableValue(intptr_t token_pos,
188 Value* value, 188 Value* value,
189 const AbstractType& dst_type, 189 const AbstractType& dst_type,
190 const String& dst_name); 190 const String& dst_name);
191 191
192 void BuildStoreIndexedValues(StoreIndexedNode* node, 192 void BuildStoreIndexedValues(StoreIndexedNode* node,
193 Value** array, 193 Value** array,
194 Value** index, 194 Value** index,
195 Value** value); 195 Value** value);
196 void BuildInstanceSetterValues(InstanceSetterNode* node, 196 void BuildInstanceSetterArguments(
197 Value** receiver, 197 InstanceSetterNode* node,
198 Value** value); 198 ZoneGrowableArray<PushArgumentInstr*>* arguments,
199 bool is_used);
srdjan 2012/08/01 16:53:31 Add comment describing what 'is_used' means, or ev
Florian Schneider 2012/08/02 10:06:59 Done.
199 200
200 virtual void BuildTypeTest(ComparisonNode* node); 201 virtual void BuildTypeTest(ComparisonNode* node);
201 virtual void BuildTypeCast(ComparisonNode* node); 202 virtual void BuildTypeCast(ComparisonNode* node);
202 203
203 bool MustSaveRestoreContext(SequenceNode* node) const; 204 bool MustSaveRestoreContext(SequenceNode* node) const;
204 205
205 // Moves parent context into the context register. 206 // Moves parent context into the context register.
206 void UnchainContext(); 207 void UnchainContext();
207 208
208 void CloseFragment() { exit_ = NULL; } 209 void CloseFragment() { exit_ = NULL; }
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 // Output parameters. 352 // Output parameters.
352 TargetEntryInstr** true_successor_address_; 353 TargetEntryInstr** true_successor_address_;
353 TargetEntryInstr** false_successor_address_; 354 TargetEntryInstr** false_successor_address_;
354 355
355 intptr_t condition_token_pos_; 356 intptr_t condition_token_pos_;
356 }; 357 };
357 358
358 } // namespace dart 359 } // namespace dart
359 360
360 #endif // VM_FLOW_GRAPH_BUILDER_H_ 361 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | vm/flow_graph_builder.cc » ('j') | vm/intermediate_language.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698