Move resetTargetOptions from taking a MachineFunction to a Function
[oota-llvm.git] / include / llvm / Target / TargetMachine.h
index fc82dfa869f7e6529046c5e25202c76b37a5ddc3..82260c0d7c5fa736c50fd4c7ca53408f794722e3 100644 (file)
@@ -114,7 +114,7 @@ public:
   }
 
   /// \brief Reset the target options based on the function's attributes.
-  void resetTargetOptions(const MachineFunction *MF) const;
+  void resetTargetOptions(const Function &F) const;
 
   /// getMCAsmInfo - Return target specific asm information.
   ///