diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-10-12 08:45:27 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-10-12 08:45:27 +0000 |
commit | 10136e7c7f599a559917e04f04e6dfbf025e451b (patch) | |
tree | 66fe2de7edfaee4a97d406d7bf95d8fe7472c25d /lib/CodeGen/RegAllocLinearScan.cpp | |
parent | dad9db6a32542bd4efe16c95f3f3ad0061b9ed64 (diff) |
Some clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocLinearScan.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 2859c24743..025de81aa9 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/lib/CodeGen/RegAllocLinearScan.cpp @@ -12,7 +12,6 @@ //===----------------------------------------------------------------------===// #define DEBUG_TYPE "regalloc" -#include "llvm/CodeGen/LiveVariables.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" #include "PhysRegTracker.h" #include "VirtRegMap.h" @@ -216,10 +215,8 @@ bool RALinScan::runOnMachineFunction(MachineFunction &fn) { // Rewrite spill code and update the PhysRegsUsed set. spiller_->runOnMachineFunction(*mf_, *vrm_); - vrm_.reset(); // Free the VirtRegMap - while (!unhandled_.empty()) unhandled_.pop(); fixed_.clear(); active_.clear(); |