[llvm-commits] [llvm] r128634 - /llvm/trunk/lib/CodeGen/LiveIntervalUnion.h

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Mar 31 08:14:11 PDT 2011


Author: stoklund
Date: Thu Mar 31 10:14:11 2011
New Revision: 128634

URL: http://llvm.org/viewvc/llvm-project?rev=128634&view=rev
Log:
Fix bug found by valgrind.

Modified:
    llvm/trunk/lib/CodeGen/LiveIntervalUnion.h

Modified: llvm/trunk/lib/CodeGen/LiveIntervalUnion.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalUnion.h?rev=128634&r1=128633&r2=128634&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalUnion.h (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalUnion.h Thu Mar 31 10:14:11 2011
@@ -166,7 +166,7 @@
     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),





More information about the llvm-commits mailing list