projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Factory methods for FunctionPasses now return type FunctionPass *.
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86PeepholeOpt.cpp
diff --git
a/lib/Target/X86/X86PeepholeOpt.cpp
b/lib/Target/X86/X86PeepholeOpt.cpp
index ae7c0621e17a5fa3cbdebae881e2d3b107166db5..559baeeae9d1b6080f5321fca26b11dfc7f2a70b 100644
(file)
--- a/
lib/Target/X86/X86PeepholeOpt.cpp
+++ b/
lib/Target/X86/X86PeepholeOpt.cpp
@@
-19,7
+19,7
@@
namespace {
};
}
-Pass *createX86PeepholeOptimizerPass() { return new PH(); }
+
Function
Pass *createX86PeepholeOptimizerPass() { return new PH(); }
bool PH::runOnMachineFunction(MachineFunction &MF) {
bool Changed = false;