commit | 89207943a1737ea050b5f34c9738589963a1977e | [log] [tgz] |
---|---|---|
author | Brian Gaeke <gaeke@uiuc.edu> | Wed Aug 13 18:18:15 2003 +0000 |
committer | Brian Gaeke <gaeke@uiuc.edu> | Wed Aug 13 18:18:15 2003 +0000 |
tree | cc1e1b558c32dc038f7c091195cb67a14fbfaaac | |
parent | aa5866463973dee3bc32dd37b3796763607460d4 [diff] [blame] |
Factory methods for FunctionPasses now return type FunctionPass *. llvm-svn: 7823
diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp index cb08986..ba571e4 100644 --- a/llvm/lib/CodeGen/RegAllocSimple.cpp +++ b/llvm/lib/CodeGen/RegAllocSimple.cpp
@@ -224,6 +224,6 @@ return true; } -Pass *createSimpleRegisterAllocator() { +FunctionPass *createSimpleRegisterAllocator() { return new RegAllocSimple(); }