mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Factory methods for FunctionPasses now return type FunctionPass *.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -80,15 +80,15 @@ namespace {
|
||||
};
|
||||
}
|
||||
|
||||
Pass *createMachineCodeConstructionPass(TargetMachine &Target) {
|
||||
FunctionPass *createMachineCodeConstructionPass(TargetMachine &Target) {
|
||||
return new ConstructMachineFunction(Target);
|
||||
}
|
||||
|
||||
Pass *createMachineCodeDestructionPass() {
|
||||
FunctionPass *createMachineCodeDestructionPass() {
|
||||
return new DestroyMachineFunction();
|
||||
}
|
||||
|
||||
Pass *createMachineFunctionPrinterPass() {
|
||||
FunctionPass *createMachineFunctionPrinterPass() {
|
||||
return new Printer();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user