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.h | |
parent | e7e4b51afc12b248927896fb76b4361e18468079 (diff) | |
download | llvm-a0382c629093a2edd175dc256750667c296d3a43.tar.gz llvm-a0382c629093a2edd175dc256750667c296d3a43.tar.bz2 llvm-a0382c629093a2edd175dc256750667c296d3a43.tar.xz |
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.h')
-rw-r--r-- | lib/CodeGen/LiveIntervalUnion.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveIntervalUnion.h b/lib/CodeGen/LiveIntervalUnion.h index 54761c715f..5bf86d8c02 100644 --- a/lib/CodeGen/LiveIntervalUnion.h +++ b/lib/CodeGen/LiveIntervalUnion.h @@ -145,8 +145,8 @@ public: Query(): LiveUnion(), VirtReg() {} Query(LiveInterval *VReg, LiveIntervalUnion *LIU): - LiveUnion(LIU), VirtReg(VReg), SeenAllInterferences(false), - SeenUnspillableVReg(false) + LiveUnion(LIU), VirtReg(VReg), CheckedFirstInterference(false), + SeenAllInterferences(false), SeenUnspillableVReg(false) {} void clear() { @@ -159,6 +159,7 @@ public: } void init(LiveInterval *VReg, LiveIntervalUnion *LIU) { + assert(VReg && LIU && "Invalid arguments"); if (VirtReg == VReg && LiveUnion == LIU) { // Retain cached results, e.g. firstInterference. return; |