From f48173a8751cb7d13db2a3fc7a128a246d45e39a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 4 Feb 2002 15:54:09 +0000 Subject: Convert RegisterAllocator interface to opaque pass type, so that users do not need to know _anything_ about RegAlloc to use it. Well in the end maybe. llvm-svn: 1681 --- llvm/lib/Target/Sparc/Sparc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/Sparc/Sparc.cpp') diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp index b4e069453cc..91e51d88d28 100644 --- a/llvm/lib/Target/Sparc/Sparc.cpp +++ b/llvm/lib/Target/Sparc/Sparc.cpp @@ -260,7 +260,7 @@ void UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) { //PM.add(new InstructionScheduling(*this)); - PM.add(new RegisterAllocation(*this)); + PM.add(getRegisterAllocator(*this)); //PM.add(new OptimizeLeafProcedures()); //PM.add(new DeleteFallThroughBranches()); -- cgit v1.2.3