Index: src/IceLiveness.cpp |
diff --git a/src/IceLiveness.cpp b/src/IceLiveness.cpp |
index 2f7b20a422ca2228633f7fab85b8ec3974944248..0da611e722efae6fea3ae2c003cbc10d81d53129 100644 |
--- a/src/IceLiveness.cpp |
+++ b/src/IceLiveness.cpp |
@@ -51,11 +51,11 @@ void Liveness::init() { |
// Resize each LivenessNode::LiveToVarMap, and the global |
// LiveToVarMap. Reset the counts to 0. |
for (SizeT i = 0; i < NumNodes; ++i) { |
- Nodes[i].LiveToVarMap.assign(Nodes[i].NumLocals, NULL); |
+ Nodes[i].LiveToVarMap.assign(Nodes[i].NumLocals, nullptr); |
Nodes[i].NumLocals = 0; |
Nodes[i].NumNonDeadPhis = 0; |
} |
- LiveToVarMap.assign(NumGlobals, NULL); |
+ LiveToVarMap.assign(NumGlobals, nullptr); |
// Sort each variable into the appropriate LiveToVarMap. Also set |
// VarToLiveMap. |