OSDN Git Service

VirtRegMap - add missing initializers. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 14 Jul 2019 11:47:36 +0000 (11:47 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 14 Jul 2019 11:47:36 +0000 (11:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366016 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/VirtRegMap.h

index 7a64d67..70eb048 100644 (file)
@@ -67,8 +67,10 @@ class TargetInstrInfo;
   public:
     static char ID;
 
-    VirtRegMap() : MachineFunctionPass(ID), Virt2PhysMap(NO_PHYS_REG),
-                   Virt2StackSlotMap(NO_STACK_SLOT), Virt2SplitMap(0) {}
+    VirtRegMap()
+        : MachineFunctionPass(ID), MRI(nullptr), TII(nullptr), TRI(nullptr),
+          MF(nullptr), Virt2PhysMap(NO_PHYS_REG),
+          Virt2StackSlotMap(NO_STACK_SLOT), Virt2SplitMap(0) {}
     VirtRegMap(const VirtRegMap &) = delete;
     VirtRegMap &operator=(const VirtRegMap &) = delete;