OSDN Git Service

Some clean up.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 12 Oct 2007 08:45:27 +0000 (08:45 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 12 Oct 2007 08:45:27 +0000 (08:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42898 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAllocLinearScan.cpp

index 2859c24..025de81 100644 (file)
@@ -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();