Factory methods for FunctionPasses now return type FunctionPass *.
[oota-llvm.git] / lib / CodeGen / RegAllocLocal.cpp
index 1b84b30f57f0970c5c02f017f663f69850d2f607..26269e1808ca99867f0b7306783fcd0713063f8a 100644 (file)
@@ -643,6 +643,6 @@ bool RA::runOnMachineFunction(MachineFunction &Fn) {
   return true;
 }
 
-Pass *createLocalRegisterAllocator() {
+FunctionPass *createLocalRegisterAllocator() {
   return new RA();
 }