Index: runtime/vm/flow_graph_allocator.h |
=================================================================== |
--- runtime/vm/flow_graph_allocator.h (revision 20148) |
+++ runtime/vm/flow_graph_allocator.h (working copy) |
@@ -227,7 +227,7 @@ |
MoveOperands* AddMoveAt(intptr_t pos, Location to, Location from); |
- Location MakeRegisterLocation(intptr_t reg, Location::Representation rep) { |
+ Location MakeRegisterLocation(intptr_t reg, Representation rep) { |
return Location::MachineRegisterLocation(register_kind_, reg, rep); |
} |
@@ -237,9 +237,8 @@ |
ReachingDefs reaching_defs_; |
- // Set of SSA values that have unboxed mint representation. Indexed |
- // by SSA temp index. |
- BitVector* mint_values_; |
+ // Representation for SSA values indexed by SSA temp index. |
+ GrowableArray<Representation> value_representations_; |
const GrowableArray<BlockEntryInstr*>& block_order_; |
const GrowableArray<BlockEntryInstr*>& postorder_; |
@@ -527,7 +526,7 @@ |
// LiveRange represents a sequence of UseIntervals for a given SSA value. |
class LiveRange : public ZoneAllocated { |
public: |
- explicit LiveRange(intptr_t vreg, Location::Representation rep) |
+ explicit LiveRange(intptr_t vreg, Representation rep) |
: vreg_(vreg), |
representation_(rep), |
assigned_location_(), |
@@ -546,7 +545,7 @@ |
static LiveRange* MakeTemp(intptr_t pos, Location* location_slot); |
intptr_t vreg() const { return vreg_; } |
- Location::Representation representation() const { return representation_; } |
+ Representation representation() const { return representation_; } |
LiveRange* next_sibling() const { return next_sibling_; } |
UsePosition* first_use() const { return uses_; } |
void set_first_use(UsePosition* use) { uses_ = use; } |
@@ -618,7 +617,7 @@ |
private: |
LiveRange(intptr_t vreg, |
- Location::Representation rep, |
+ Representation rep, |
UsePosition* uses, |
UseInterval* first_use_interval, |
UseInterval* last_use_interval, |
@@ -639,7 +638,7 @@ |
} |
const intptr_t vreg_; |
- Location::Representation representation_; |
+ Representation representation_; |
Location assigned_location_; |
Location spill_slot_; |