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

Side by Side Diff: runtime/vm/flow_graph_builder.h

Issue 10837076: Revert "Added support for copied parameters to the SSA compiler." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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 | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_builder.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_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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 private: 53 private:
54 void ComputeDominators(GrowableArray<BlockEntryInstr*>* preorder, 54 void ComputeDominators(GrowableArray<BlockEntryInstr*>* preorder,
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 stack_local_count, 63 void Rename(intptr_t var_count);
64 intptr_t fixed_parameter_count,
65 intptr_t named_parameter_count);
66 void RenameRecursive(BlockEntryInstr* block_entry, 64 void RenameRecursive(BlockEntryInstr* block_entry,
67 GrowableArray<Value*>* env, 65 GrowableArray<Value*>* env,
68 intptr_t var_count, 66 intptr_t var_count,
69 intptr_t param_count); 67 intptr_t param_count);
70 68
71 void InsertPhis(const GrowableArray<BlockEntryInstr*>& preorder, 69 void InsertPhis(const GrowableArray<BlockEntryInstr*>& preorder,
72 const GrowableArray<BitVector*>& assigned_vars, 70 const GrowableArray<BitVector*>& assigned_vars,
73 const intptr_t var_count, 71 const intptr_t var_count,
74 const GrowableArray<BitVector*>& dom_frontier); 72 const GrowableArray<BitVector*>& dom_frontier);
75 73
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 // Output parameters. 352 // Output parameters.
355 TargetEntryInstr** true_successor_address_; 353 TargetEntryInstr** true_successor_address_;
356 TargetEntryInstr** false_successor_address_; 354 TargetEntryInstr** false_successor_address_;
357 355
358 intptr_t condition_token_pos_; 356 intptr_t condition_token_pos_;
359 }; 357 };
360 358
361 } // namespace dart 359 } // namespace dart
362 360
363 #endif // VM_FLOW_GRAPH_BUILDER_H_ 361 #endif // VM_FLOW_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698