diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-13 18:18:15 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-13 18:18:15 +0000 |
commit | 89207943a1737ea050b5f34c9738589963a1977e (patch) | |
tree | cc1e1b558c32dc038f7c091195cb67a14fbfaaac /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | aa5866463973dee3bc32dd37b3796763607460d4 (diff) | |
download | bcm5719-llvm-89207943a1737ea050b5f34c9738589963a1977e.tar.gz bcm5719-llvm-89207943a1737ea050b5f34c9738589963a1977e.zip |
Factory methods for FunctionPasses now return type FunctionPass *.
llvm-svn: 7823
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 85bf4b6a272..f7aadc317e2 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -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(); } |