projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused BitVectors from getAllocatableSet().
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineDominators.cpp
diff --git
a/lib/CodeGen/MachineDominators.cpp
b/lib/CodeGen/MachineDominators.cpp
index b5f8fbba99debdfc190349329a2b70aecb1c0f0c..04c8ecbf9bdc1e1e236faef8c456d50a1517fa9e 100644
(file)
--- a/
lib/CodeGen/MachineDominators.cpp
+++ b/
lib/CodeGen/MachineDominators.cpp
@@
-24,10
+24,10
@@
TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>);
char MachineDominatorTree::ID = 0;
char MachineDominatorTree::ID = 0;
-static RegisterPass<MachineDominatorTree>
-E("machinedomtree", "MachineDominator Tree Construction", true);
+INITIALIZE_PASS(MachineDominatorTree, "machinedomtree",
+ "MachineDominator Tree Construction", true, true)
-c
onst PassInfo *const llvm::MachineDominatorsID = &E
;
+c
har &llvm::MachineDominatorsID = MachineDominatorTree::ID
;
void MachineDominatorTree::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
void MachineDominatorTree::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
@@
-41,7
+41,8
@@
bool MachineDominatorTree::runOnMachineFunction(MachineFunction &F) {
}
MachineDominatorTree::MachineDominatorTree()
}
MachineDominatorTree::MachineDominatorTree()
- : MachineFunctionPass(&ID) {
+ : MachineFunctionPass(ID) {
+ initializeMachineDominatorTreePass(*PassRegistry::getPassRegistry());
DT = new DominatorTreeBase<MachineBasicBlock>(false);
}
DT = new DominatorTreeBase<MachineBasicBlock>(false);
}