summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit2ee5a0fc7fd947a400cfef8343e020a00e852eea (patch)
treee7953d2aa7f160ebc2c272d46ee39faf795ae7e2 /llvm
parent9a827b30ab1e297c4184a7e7ca51cdbc584feaf1 (diff)
downloadbcm5719-llvm-2ee5a0fc7fd947a400cfef8343e020a00e852eea.tar.gz
bcm5719-llvm-2ee5a0fc7fd947a400cfef8343e020a00e852eea.zip
Fix bug found by valgrind.
llvm-svn: 128634
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalUnion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalUnion.h b/llvm/lib/CodeGen/LiveIntervalUnion.h
index 4ae2667307f..0964ecd07a8 100644
--- a/llvm/lib/CodeGen/LiveIntervalUnion.h
+++ b/llvm/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),
OpenPOWER on IntegriCloud