summaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/ResourcePriorityQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/ResourcePriorityQueue.h')
-rw-r--r--include/llvm/CodeGen/ResourcePriorityQueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ResourcePriorityQueue.h b/include/llvm/CodeGen/ResourcePriorityQueue.h
index 7ae9111..114fe7c 100644
--- a/include/llvm/CodeGen/ResourcePriorityQueue.h
+++ b/include/llvm/CodeGen/ResourcePriorityQueue.h
@@ -92,7 +92,7 @@ namespace llvm {
void updateNode(const SUnit *SU) override {}
void releaseState() override {
- SUnits = 0;
+ SUnits = nullptr;
}
unsigned getLatency(unsigned NodeNum) const {