Index: src/IceLiveness.h |
diff --git a/src/IceLiveness.h b/src/IceLiveness.h |
index bd739d374f0efe743d178a0d0d2ec02a3c677931..535ed022945f2fb449834d750a83dbb829a7e563 100644 |
--- a/src/IceLiveness.h |
+++ b/src/IceLiveness.h |
@@ -47,7 +47,7 @@ class Liveness { |
// LiveToVarMap maps a liveness bitvector index to a Variable. This is |
// generally just for printing/dumping. The index should be less than |
// NumLocals + Liveness::NumGlobals. |
- std::vector<Variable *> LiveToVarMap; |
+ CfgVector<Variable *> LiveToVarMap; |
// LiveIn and LiveOut track the in- and out-liveness of the global |
// variables. The size of each vector is LivenessNode::NumGlobals. |
LivenessBV LiveIn, LiveOut; |
@@ -107,13 +107,13 @@ private: |
LivenessMode Mode; |
SizeT NumGlobals = 0; |
/// Size of Nodes is Cfg::Nodes.size(). |
- std::vector<LivenessNode> Nodes; |
+ CfgVector<LivenessNode> Nodes; |
/// VarToLiveMap maps a Variable's Variable::Number to its live index within |
/// its basic block. |
- std::vector<SizeT> VarToLiveMap; |
+ CfgVector<SizeT> VarToLiveMap; |
/// LiveToVarMap is analogous to LivenessNode::LiveToVarMap, but for non-local |
/// variables. |
- std::vector<Variable *> LiveToVarMap; |
+ CfgVector<Variable *> LiveToVarMap; |
/// RangeMask[Variable::Number] indicates whether we want to track that |
/// Variable's live range. |
llvm::BitVector RangeMask; |