diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-13 15:00:11 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-13 15:00:11 +0000 |
commit | cda53febec45bfea2c71bc38bc472ce9f38dd225 (patch) | |
tree | 55ac92dfcdd3d59f3ee723b0057276eda54d1b7d /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 47f89e0f55f8c81946380854c7fdfe66345488aa (diff) | |
download | bcm5719-llvm-cda53febec45bfea2c71bc38bc472ce9f38dd225.tar.gz bcm5719-llvm-cda53febec45bfea2c71bc38bc472ce9f38dd225.zip |
Stop using dead function.
llvm-svn: 129442
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index 73788f6ba0c..35ef40ddd26 100644 --- a/llvm/lib/CodeGen/SplitKit.cpp +++ b/llvm/lib/CodeGen/SplitKit.cpp @@ -558,8 +558,6 @@ VNInfo *SplitEditor::defFromParent(unsigned RegIdx, /// Create a new virtual register and live interval. unsigned SplitEditor::openIntv() { - assert(!OpenIdx && "Previous LI not closed before openIntv"); - // Create the complement as index 0. if (Edit->empty()) Edit->create(LIS, VRM); @@ -696,13 +694,6 @@ void SplitEditor::overlapIntv(SlotIndex Start, SlotIndex End) { DEBUG(dump()); } -/// closeIntv - Indicate that we are done editing the currently open -/// LiveInterval, and ranges can be trimmed. -void SplitEditor::closeIntv() { - assert(OpenIdx && "openIntv not called before closeIntv"); - OpenIdx = 0; -} - /// transferSimpleValues - Transfer all simply defined values to the new live /// ranges. /// Values that were rematerialized or that have multiple defs are left alone. @@ -846,7 +837,6 @@ void SplitEditor::deleteRematVictims() { } void SplitEditor::finish() { - assert(OpenIdx == 0 && "Previous LI not closed before rewrite"); ++NumFinished; // At this point, the live intervals in Edit contain VNInfos corresponding to @@ -948,7 +938,6 @@ void SplitEditor::splitSingleBlock(const SplitAnalysis::BlockInfo &BI) { useIntv(SegStart, SegStop); overlapIntv(SegStop, BI.LastUse); } - closeIntv(); } /// splitSingleBlocks - Split CurLI into a separate live interval inside each |