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
/
CodeGen
/
RegAllocSimple.cpp
diff --git
a/lib/CodeGen/RegAllocSimple.cpp
b/lib/CodeGen/RegAllocSimple.cpp
index cb08986d143f5e0cee853669bb5a3a971af20af0..ba571e4116e4692fe3e22d5972d117838018b43c 100644
(file)
--- a/
lib/CodeGen/RegAllocSimple.cpp
+++ b/
lib/CodeGen/RegAllocSimple.cpp
@@
-224,6
+224,6
@@
bool RegAllocSimple::runOnMachineFunction(MachineFunction &Fn) {
return true;
}
-Pass *createSimpleRegisterAllocator() {
+
Function
Pass *createSimpleRegisterAllocator() {
return new RegAllocSimple();
}