aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-31 15:14:11 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-31 15:14:11 +0000
commit314a3ef502c67e9be7a67c9be7ea3ecffce8298b (patch)
tree8202c330f677bcb2fb96d752c46317e58b1cd537
parente8f353332306d2cfa77d52f67c54b3a54bd4ab4a (diff)
downloadexternal_llvm-314a3ef502c67e9be7a67c9be7ea3ecffce8298b.zip
external_llvm-314a3ef502c67e9be7a67c9be7ea3ecffce8298b.tar.gz
external_llvm-314a3ef502c67e9be7a67c9be7ea3ecffce8298b.tar.bz2
Fix bug found by valgrind.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128634 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/LiveIntervalUnion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalUnion.h b/lib/CodeGen/LiveIntervalUnion.h
index 4ae2667..0964ecd 100644
--- a/lib/CodeGen/LiveIntervalUnion.h
+++ b/lib/CodeGen/LiveIntervalUnion.h
@@ -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),