Factory methods for FunctionPasses now return type FunctionPass *.
[oota-llvm.git] / lib / CodeGen / RegAllocSimple.cpp
index cb08986d143f5e0cee853669bb5a3a971af20af0..ba571e4116e4692fe3e22d5972d117838018b43c 100644 (file)
@@ -224,6 +224,6 @@ bool RegAllocSimple::runOnMachineFunction(MachineFunction &Fn) {
   return true;
 }
 
-Pass *createSimpleRegisterAllocator() {
+FunctionPass *createSimpleRegisterAllocator() {
   return new RegAllocSimple();
 }