summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit89d59169216f2573d37b3335ba19dfab5887b5f0 (patch)
treebbd7e5fd9d5906e18f80c597a7523f4b5b6ba2d7 /llvm/lib
parent6fd54fd19c3c046dfca2821d5705ff054b39dbc1 (diff)
downloadbcm5719-llvm-89d59169216f2573d37b3335ba19dfab5887b5f0.tar.gz
bcm5719-llvm-89d59169216f2573d37b3335ba19dfab5887b5f0.zip
Some clean up.
llvm-svn: 42898
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index 2859c24743e..025de81aa93 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud