| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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_ALLOCATOR_H_ | 5 #ifndef VM_FLOW_GRAPH_ALLOCATOR_H_ |
| 6 #define VM_FLOW_GRAPH_ALLOCATOR_H_ | 6 #define VM_FLOW_GRAPH_ALLOCATOR_H_ |
| 7 | 7 |
| 8 #include "vm/flow_graph.h" | 8 #include "vm/flow_graph.h" |
| 9 #include "vm/growable_array.h" | 9 #include "vm/growable_array.h" |
| 10 #include "vm/intermediate_language.h" | 10 #include "vm/intermediate_language.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 Definition* def, | 122 Definition* def, |
| 123 intptr_t vreg, | 123 intptr_t vreg, |
| 124 bool output_same_as_first_input, | 124 bool output_same_as_first_input, |
| 125 Location* in_ref, | 125 Location* in_ref, |
| 126 Definition* input, | 126 Definition* input, |
| 127 intptr_t input_vreg, | 127 intptr_t input_vreg, |
| 128 BitVector* interference_set); | 128 BitVector* interference_set); |
| 129 void ProcessOneInstruction(BlockEntryInstr* block, | 129 void ProcessOneInstruction(BlockEntryInstr* block, |
| 130 Instruction* instr, | 130 Instruction* instr, |
| 131 BitVector* interference_set); | 131 BitVector* interference_set); |
| 132 |
| 133 static const intptr_t kNormalEntryPos = 2; |
| 134 |
| 132 void ProcessInitialDefinition(Definition* defn, | 135 void ProcessInitialDefinition(Definition* defn, |
| 133 LiveRange* range, | 136 LiveRange* range, |
| 134 BlockEntryInstr* block); | 137 BlockEntryInstr* block); |
| 135 void ConnectIncomingPhiMoves(JoinEntryInstr* join); | 138 void ConnectIncomingPhiMoves(JoinEntryInstr* join); |
| 136 void BlockLocation(Location loc, intptr_t from, intptr_t to); | 139 void BlockLocation(Location loc, intptr_t from, intptr_t to); |
| 137 void BlockRegisterLocation(Location loc, | 140 void BlockRegisterLocation(Location loc, |
| 138 intptr_t from, | 141 intptr_t from, |
| 139 intptr_t to, | 142 intptr_t to, |
| 140 bool* blocked_registers, | 143 bool* blocked_registers, |
| 141 LiveRange** blocking_ranges); | 144 LiveRange** blocking_ranges); |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 | 672 |
| 670 AllocationFinger finger_; | 673 AllocationFinger finger_; |
| 671 | 674 |
| 672 DISALLOW_COPY_AND_ASSIGN(LiveRange); | 675 DISALLOW_COPY_AND_ASSIGN(LiveRange); |
| 673 }; | 676 }; |
| 674 | 677 |
| 675 | 678 |
| 676 } // namespace dart | 679 } // namespace dart |
| 677 | 680 |
| 678 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_ | 681 #endif // VM_FLOW_GRAPH_ALLOCATOR_H_ |
| OLD | NEW |