projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Zap dead code.
[oota-llvm.git]
/
lib
/
CodeGen
/
OptimizePHIs.cpp
diff --git
a/lib/CodeGen/OptimizePHIs.cpp
b/lib/CodeGen/OptimizePHIs.cpp
index 9b7a4ea21e59de0edf7c59c18f76464094ba943d..edb4eea71b8a72032f1d1a3ec5ddb06ce36de287 100644
(file)
--- a/
lib/CodeGen/OptimizePHIs.cpp
+++ b/
lib/CodeGen/OptimizePHIs.cpp
@@
-33,7
+33,7
@@
namespace {
public:
static char ID; // Pass identification
public:
static char ID; // Pass identification
- OptimizePHIs() : MachineFunctionPass(
&
ID) {}
+ OptimizePHIs() : MachineFunctionPass(ID) {}
virtual bool runOnMachineFunction(MachineFunction &MF);
virtual bool runOnMachineFunction(MachineFunction &MF);
@@
-54,8
+54,8
@@
namespace {
}
char OptimizePHIs::ID = 0;
}
char OptimizePHIs::ID = 0;
-static RegisterPass<OptimizePHIs>
-
X("opt-phis", "Optimize machine instruction PHIs"
);
+INITIALIZE_PASS(OptimizePHIs, "opt-phis",
+
"Optimize machine instruction PHIs", false, false
);
FunctionPass *llvm::createOptimizePHIsPass() { return new OptimizePHIs(); }
FunctionPass *llvm::createOptimizePHIsPass() { return new OptimizePHIs(); }