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
/
RegAllocLocal.cpp
diff --git
a/lib/CodeGen/RegAllocLocal.cpp
b/lib/CodeGen/RegAllocLocal.cpp
index 1b84b30f57f0970c5c02f017f663f69850d2f607..26269e1808ca99867f0b7306783fcd0713063f8a 100644
(file)
--- a/
lib/CodeGen/RegAllocLocal.cpp
+++ b/
lib/CodeGen/RegAllocLocal.cpp
@@
-643,6
+643,6
@@
bool RA::runOnMachineFunction(MachineFunction &Fn) {
return true;
}
-Pass *createLocalRegisterAllocator() {
+
Function
Pass *createLocalRegisterAllocator() {
return new RA();
}