From 8af3000e93b87b58aee7cf8fbeefac15bcb50fa6 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 12 Oct 2007 08:45:27 +0000 Subject: [PATCH] Some clean up. llvm-svn: 42898 --- lib/CodeGen/RegAllocLinearScan.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 2859c24743e..025de81aa93 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();