From ab68cf24bb17eebcfd14bf851ade359f670e4e63 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 6 May 2009 02:36:21 +0000 Subject: Renamed Spiller classes (plus uses and related files) to VirtRegRewriter. llvm-svn: 71057 --- llvm/lib/CodeGen/RegAllocLinearScan.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp') diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index b5f581cc594..2c30bd81c66 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -13,7 +13,7 @@ #define DEBUG_TYPE "regalloc" #include "VirtRegMap.h" -#include "Spiller.h" +#include "VirtRegRewriter.h" #include "llvm/Function.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" #include "llvm/CodeGen/LiveStackAnalysis.h" @@ -125,7 +125,7 @@ namespace { /// vrm_ - Tracks register assignments. VirtRegMap* vrm_; - std::auto_ptr spiller_; + std::auto_ptr rewriter_; public: virtual const char* getPassName() const { @@ -404,14 +404,14 @@ bool RALinScan::runOnMachineFunction(MachineFunction &fn) { initRegUses(); vrm_ = &getAnalysis(); - if (!spiller_.get()) spiller_.reset(createSpiller()); + if (!rewriter_.get()) rewriter_.reset(createVirtRegRewriter()); initIntervalSets(); linearScan(); // Rewrite spill code and update the PhysRegsUsed set. - spiller_->runOnMachineFunction(*mf_, *vrm_, li_); + rewriter_->runOnMachineFunction(*mf_, *vrm_, li_); assert(unhandled_.empty() && "Unhandled live intervals remain!"); -- cgit v1.2.3