Fix bug found by valgrind.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 31 Mar 2011 15:14:11 +0000 (15:14 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 31 Mar 2011 15:14:11 +0000 (15:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128634 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalUnion.h

index 4ae2667307fc9effe410c9055c2e59725f18c959..0964ecd07a8f9440794adce7ac677a2a35d3f95c 100644 (file)
@@ -166,7 +166,7 @@ public:
     unsigned Tag, UserTag;
 
   public:
-    Query(): LiveUnion(), VirtReg() {}
+    Query(): LiveUnion(), VirtReg(), Tag(0), UserTag(0) {}
 
     Query(LiveInterval *VReg, LiveIntervalUnion *LIU):
       LiveUnion(LIU), VirtReg(VReg), CheckedFirstInterference(false),