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 | a0382c629093a2edd175dc256750667c296d3a43 (patch) | |
tree | 86042c7fc01f8462f3b35f672ad3f0f2fe26005b /lib/CodeGen/LiveIntervalUnion.cpp | |
parent | e7e4b51afc12b248927896fb76b4361e18468079 (diff) |
Add a forgotten initializer for CheckedFirstInterference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalUnion.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalUnion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveIntervalUnion.cpp b/lib/CodeGen/LiveIntervalUnion.cpp index d5c7bf08eb..59d48a4b64 100644 --- a/lib/CodeGen/LiveIntervalUnion.cpp +++ b/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; } |