diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-09 21:20:44 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-09 21:20:44 +0000 |
commit | 4c2fadbc18c5a4657e3202b34633668ce26dea97 (patch) | |
tree | 3970d57ff84d7a16d51ac8b63330b8dc997a2752 /llvm/lib/CodeGen/LiveIntervalUnion.cpp | |
parent | f749ad734f3ff3c88bb4d5bb8256c817b3422af0 (diff) | |
download | bcm5719-llvm-4c2fadbc18c5a4657e3202b34633668ce26dea97.tar.gz bcm5719-llvm-4c2fadbc18c5a4657e3202b34633668ce26dea97.zip |
Add a forgotten initializer for CheckedFirstInterference.
llvm-svn: 121410
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalUnion.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervalUnion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalUnion.cpp b/llvm/lib/CodeGen/LiveIntervalUnion.cpp index d5c7bf08eb6..59d48a4b64d 100644 --- a/llvm/lib/CodeGen/LiveIntervalUnion.cpp +++ b/llvm/lib/CodeGen/LiveIntervalUnion.cpp @@ -168,6 +168,8 @@ LiveIntervalUnion::Query::firstInterference() { IR.VirtRegI = VirtReg->end(); } findIntersection(FirstInterference); + assert((IR.VirtRegI == VirtReg->end() || IR.LiveUnionI.valid()) + && "Uninitialized iterator"); return FirstInterference; } |