| Index: runtime/vm/flow_graph_allocator.h
|
| diff --git a/runtime/vm/flow_graph_allocator.h b/runtime/vm/flow_graph_allocator.h
|
| index a1d724239043c3656b7657cc1b0544358c504d6d..42ed4807f1d47ac9e5b4bd77dad5747747ecae8c 100644
|
| --- a/runtime/vm/flow_graph_allocator.h
|
| +++ b/runtime/vm/flow_graph_allocator.h
|
| @@ -18,7 +18,6 @@ class LiveRange;
|
| class UseInterval;
|
| class UsePosition;
|
|
|
| -
|
| class ReachingDefs : public ValueObject {
|
| public:
|
| explicit ReachingDefs(const FlowGraph& flow_graph)
|
| @@ -34,7 +33,6 @@ class ReachingDefs : public ValueObject {
|
| GrowableArray<PhiInstr*> phis_;
|
| };
|
|
|
| -
|
| class SSALivenessAnalysis : public LivenessAnalysis {
|
| public:
|
| explicit SSALivenessAnalysis(const FlowGraph& flow_graph)
|
| @@ -49,7 +47,6 @@ class SSALivenessAnalysis : public LivenessAnalysis {
|
| GraphEntryInstr* graph_entry_;
|
| };
|
|
|
| -
|
| class FlowGraphAllocator : public ValueObject {
|
| public:
|
| // Number of stack slots needed for a fpu register spill slot.
|
| @@ -153,7 +150,6 @@ class FlowGraphAllocator : public ValueObject {
|
| LiveRange** blocking_ranges,
|
| bool* blocked_registers);
|
|
|
| -
|
| // Process live ranges sorted by their start and assign registers
|
| // to them
|
| void AllocateUnallocatedRanges();
|
| @@ -311,7 +307,6 @@ class FlowGraphAllocator : public ValueObject {
|
|
|
| GrowableArray<bool> blocked_registers_;
|
|
|
| -
|
| // Worklist for register allocator. Always maintained sorted according
|
| // to ShouldBeAllocatedBefore predicate.
|
| GrowableArray<LiveRange*> unallocated_;
|
| @@ -337,7 +332,6 @@ class FlowGraphAllocator : public ValueObject {
|
| DISALLOW_COPY_AND_ASSIGN(FlowGraphAllocator);
|
| };
|
|
|
| -
|
| // Additional information about a block that is not contained in a
|
| // block entry.
|
| class BlockInfo : public ZoneAllocated {
|
| @@ -400,7 +394,6 @@ class BlockInfo : public ZoneAllocated {
|
| DISALLOW_COPY_AND_ASSIGN(BlockInfo);
|
| };
|
|
|
| -
|
| // UsePosition represents a single use of an SSA value by some instruction.
|
| // It points to a location slot which either tells register allocator
|
| // where instruction expects the value (if slot contains a fixed location) or
|
| @@ -427,7 +420,6 @@ class UsePosition : public ZoneAllocated {
|
|
|
| bool HasHint() const { return (hint_ != NULL) && !hint_->IsUnallocated(); }
|
|
|
| -
|
| void set_next(UsePosition* next) { next_ = next; }
|
| UsePosition* next() const { return next_; }
|
|
|
| @@ -442,7 +434,6 @@ class UsePosition : public ZoneAllocated {
|
| DISALLOW_COPY_AND_ASSIGN(UsePosition);
|
| };
|
|
|
| -
|
| // UseInterval represents a holeless half open interval of liveness for a given
|
| // SSA value: [start, end) in terms of lifetime positions that
|
| // NumberInstructions assigns to instructions. Register allocator has to keep
|
| @@ -479,7 +470,6 @@ class UseInterval : public ZoneAllocated {
|
| DISALLOW_COPY_AND_ASSIGN(UseInterval);
|
| };
|
|
|
| -
|
| // AllocationFinger is used to keep track of currently active position
|
| // for the register allocator and cache lookup results.
|
| class AllocationFinger : public ValueObject {
|
| @@ -512,7 +502,6 @@ class AllocationFinger : public ValueObject {
|
| DISALLOW_COPY_AND_ASSIGN(AllocationFinger);
|
| };
|
|
|
| -
|
| class SafepointPosition : public ZoneAllocated {
|
| public:
|
| SafepointPosition(intptr_t pos, LocationSummary* locs)
|
| @@ -532,7 +521,6 @@ class SafepointPosition : public ZoneAllocated {
|
| SafepointPosition* next_;
|
| };
|
|
|
| -
|
| // LiveRange represents a sequence of UseIntervals for a given SSA value.
|
| class LiveRange : public ZoneAllocated {
|
| public:
|
| @@ -658,7 +646,6 @@ class LiveRange : public ZoneAllocated {
|
| DISALLOW_COPY_AND_ASSIGN(LiveRange);
|
| };
|
|
|
| -
|
| } // namespace dart
|
|
|
| #endif // RUNTIME_VM_FLOW_GRAPH_ALLOCATOR_H_
|
|
|