projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move resetTargetOptions from taking a MachineFunction to a Function
[oota-llvm.git]
/
include
/
llvm
/
Target
/
TargetMachine.h
diff --git
a/include/llvm/Target/TargetMachine.h
b/include/llvm/Target/TargetMachine.h
index fc82dfa869f7e6529046c5e25202c76b37a5ddc3..82260c0d7c5fa736c50fd4c7ca53408f794722e3 100644
(file)
--- a/
include/llvm/Target/TargetMachine.h
+++ b/
include/llvm/Target/TargetMachine.h
@@
-114,7
+114,7
@@
public:
}
/// \brief Reset the target options based on the function's attributes.
- void resetTargetOptions(const
MachineFunction *M
F) const;
+ void resetTargetOptions(const
Function &
F) const;
/// getMCAsmInfo - Return target specific asm information.
///