aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-12 08:45:27 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-12 08:45:27 +0000
commitba6246963405f95a9a2b76ff2694136bfdb88a61 (patch)
tree66fe2de7edfaee4a97d406d7bf95d8fe7472c25d /lib
parent6751cdfbf2329fba5eeeebfa380c1b4e1e8c6e3f (diff)
downloadexternal_llvm-ba6246963405f95a9a2b76ff2694136bfdb88a61.tar.gz
external_llvm-ba6246963405f95a9a2b76ff2694136bfdb88a61.tar.bz2
external_llvm-ba6246963405f95a9a2b76ff2694136bfdb88a61.zip
Some clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp3
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();