Now that PassInfo and Pass::ID have been separated, move the rest of the passes over to the new registration API.
llvm-svn: 111815
This commit is contained in:
@@ -30,8 +30,8 @@ TEMPLATE_INSTANTIATION(MLIB);
|
||||
}
|
||||
|
||||
char MachineLoopInfo::ID = 0;
|
||||
static RegisterPass<MachineLoopInfo>
|
||||
X("machine-loops", "Machine Natural Loop Construction", true);
|
||||
INITIALIZE_PASS(MachineLoopInfo, "machine-loops",
|
||||
"Machine Natural Loop Construction", true, true);
|
||||
|
||||
char &llvm::MachineLoopInfoID = MachineLoopInfo::ID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user