commit | a0382c629093a2edd175dc256750667c296d3a43 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Dec 09 21:20:44 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Dec 09 21:20:44 2010 +0000 |
tree | 86042c7fc01f8462f3b35f672ad3f0f2fe26005b | |
parent | e7e4b51afc12b248927896fb76b4361e18468079 [diff] [blame] |
Add a forgotten initializer for CheckedFirstInterference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121410 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveIntervalUnion.cpp b/lib/CodeGen/LiveIntervalUnion.cpp index d5c7bf0..59d48a4 100644 --- a/lib/CodeGen/LiveIntervalUnion.cpp +++ b/lib/CodeGen/LiveIntervalUnion.cpp
@@ -168,6 +168,8 @@ IR.VirtRegI = VirtReg->end(); } findIntersection(FirstInterference); + assert((IR.VirtRegI == VirtReg->end() || IR.LiveUnionI.valid()) + && "Uninitialized iterator"); return FirstInterference; }