Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 271 Definition* BuildLoadExprTemp(); | 271 Definition* BuildLoadExprTemp(); |
| 272 | 272 |
| 273 Definition* BuildStoreLocal(const LocalVariable& local, | 273 Definition* BuildStoreLocal(const LocalVariable& local, |
| 274 Value* value, | 274 Value* value, |
| 275 bool result_is_needed); | 275 bool result_is_needed); |
| 276 Definition* BuildLoadLocal(const LocalVariable& local); | 276 Definition* BuildLoadLocal(const LocalVariable& local); |
| 277 | 277 |
| 278 void HandleStoreLocal(StoreLocalNode* node, bool result_is_needed); | 278 void HandleStoreLocal(StoreLocalNode* node, bool result_is_needed); |
| 279 | 279 |
| 280 // Helpers for translating parts of the AST. | 280 // Helpers for translating parts of the AST. |
| 281 void TranslateArgumentList(const ArgumentListNode& node, | |
|
Kevin Millikin (Google)
2013/10/02 14:09:38
It's strange that this is still hanging around.
| |
| 282 ZoneGrowableArray<Value*>* values); | |
| 283 void BuildPushArguments(const ArgumentListNode& node, | 281 void BuildPushArguments(const ArgumentListNode& node, |
| 284 ZoneGrowableArray<PushArgumentInstr*>* values); | 282 ZoneGrowableArray<PushArgumentInstr*>* values); |
| 285 | 283 |
| 286 // Creates an instantiated type argument vector used in preparation of an | 284 // Creates an instantiated type argument vector used in preparation of an |
| 287 // allocation call. | 285 // allocation call. |
| 288 // May be called only if allocating an object of a parameterized class. | 286 // May be called only if allocating an object of a parameterized class. |
| 289 Value* BuildInstantiatedTypeArguments( | 287 Value* BuildInstantiatedTypeArguments( |
| 290 intptr_t token_pos, | 288 intptr_t token_pos, |
| 291 const AbstractTypeArguments& type_arguments); | 289 const AbstractTypeArguments& type_arguments); |
| 292 | 290 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 527 // Output parameters. | 525 // Output parameters. |
| 528 GrowableArray<TargetEntryInstr**> true_successor_addresses_; | 526 GrowableArray<TargetEntryInstr**> true_successor_addresses_; |
| 529 GrowableArray<TargetEntryInstr**> false_successor_addresses_; | 527 GrowableArray<TargetEntryInstr**> false_successor_addresses_; |
| 530 | 528 |
| 531 intptr_t condition_token_pos_; | 529 intptr_t condition_token_pos_; |
| 532 }; | 530 }; |
| 533 | 531 |
| 534 } // namespace dart | 532 } // namespace dart |
| 535 | 533 |
| 536 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 534 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |