]> granicus.if.org Git - llvm/commitdiff
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 7a64d674ecac013fec6d3e91ed675645eb8d2305..70eb048f05ebe620042a72399cbbe4cb0f125f34 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;