[llvm] r366015 - SlotIndexes - add missing initializer. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 14 04:41:52 PDT 2019
Author: rksimon
Date: Sun Jul 14 04:41:52 2019
New Revision: 366015
URL: http://llvm.org/viewvc/llvm-project?rev=366015&view=rev
Log:
SlotIndexes - add missing initializer. NFCI.
Modified:
llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
Modified: llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SlotIndexes.h?rev=366015&r1=366014&r2=366015&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SlotIndexes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SlotIndexes.h Sun Jul 14 04:41:52 2019
@@ -347,7 +347,7 @@ class raw_ostream;
public:
static char ID;
- SlotIndexes() : MachineFunctionPass(ID) {
+ SlotIndexes() : MachineFunctionPass(ID), mf(nullptr) {
initializeSlotIndexesPass(*PassRegistry::getPassRegistry());
}
More information about the llvm-commits
mailing list