| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 GrowableArray<intptr_t>* parent, | 55 GrowableArray<intptr_t>* parent, |
| 56 GrowableArray<BitVector*>* dominance_frontier); | 56 GrowableArray<BitVector*>* dominance_frontier); |
| 57 | 57 |
| 58 void CompressPath(intptr_t start_index, | 58 void CompressPath(intptr_t start_index, |
| 59 intptr_t current_index, | 59 intptr_t current_index, |
| 60 GrowableArray<intptr_t>* parent, | 60 GrowableArray<intptr_t>* parent, |
| 61 GrowableArray<intptr_t>* label); | 61 GrowableArray<intptr_t>* label); |
| 62 | 62 |
| 63 void Rename(intptr_t var_count); | 63 void Rename(intptr_t var_count); |
| 64 void RenameRecursive(BlockEntryInstr* block_entry, | 64 void RenameRecursive(BlockEntryInstr* block_entry, |
| 65 ZoneGrowableArray<Value*>* env, | 65 GrowableArray<Value*>* env, |
| 66 intptr_t var_count); | 66 intptr_t var_count); |
| 67 | 67 |
| 68 void InsertPhis(const GrowableArray<BlockEntryInstr*>& preorder, | 68 void InsertPhis(const GrowableArray<BlockEntryInstr*>& preorder, |
| 69 const GrowableArray<BitVector*>& assigned_vars, | 69 const GrowableArray<BitVector*>& assigned_vars, |
| 70 const intptr_t var_count, | 70 const intptr_t var_count, |
| 71 const GrowableArray<BitVector*>& dom_frontier); | 71 const GrowableArray<BitVector*>& dom_frontier); |
| 72 | 72 |
| 73 const ParsedFunction& parsed_function_; | 73 const ParsedFunction& parsed_function_; |
| 74 GrowableArray<BlockEntryInstr*> preorder_block_entries_; | 74 GrowableArray<BlockEntryInstr*> preorder_block_entries_; |
| 75 GrowableArray<BlockEntryInstr*> postorder_block_entries_; | 75 GrowableArray<BlockEntryInstr*> postorder_block_entries_; |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 // Output parameters. | 334 // Output parameters. |
| 335 TargetEntryInstr** true_successor_address_; | 335 TargetEntryInstr** true_successor_address_; |
| 336 TargetEntryInstr** false_successor_address_; | 336 TargetEntryInstr** false_successor_address_; |
| 337 | 337 |
| 338 intptr_t condition_token_pos_; | 338 intptr_t condition_token_pos_; |
| 339 }; | 339 }; |
| 340 | 340 |
| 341 } // namespace dart | 341 } // namespace dart |
| 342 | 342 |
| 343 #endif // VM_FLOW_GRAPH_BUILDER_H_ | 343 #endif // VM_FLOW_GRAPH_BUILDER_H_ |
| OLD | NEW |