summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-02-15 05:59:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-02-15 05:59:24 +0000
commit14edd1989b06ed7cc7f933d691b56e0a67fa76ce (patch)
treec900ea86fb27e3a8ad33c43b74332117ba8c3ea8 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parentee7c774b8e0d20d1d2a2846440da4026fa619cf2 (diff)
downloadbcm5719-llvm-14edd1989b06ed7cc7f933d691b56e0a67fa76ce.tar.gz
bcm5719-llvm-14edd1989b06ed7cc7f933d691b56e0a67fa76ce.zip
Use BitVector instead of vector<bool> which can be extremely slow.
llvm-svn: 34302
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 83852ca8b9c..57a73d2642b 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -461,7 +461,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
// If the kill happens after the definition, we have an intra-block
// live range.
if (killIdx > defIndex) {
- assert(vi.AliveBlocks.empty() &&
+ assert(vi.AliveBlocks.none() &&
"Shouldn't be alive across any blocks!");
LiveRange LR(defIndex, killIdx, ValNum);
interval.addRange(LR);
OpenPOWER on IntegriCloud