summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCTargetMachine.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-15 09:22:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-15 09:22:31 +0000
commit4246790aa84a530b0378d917023584c2c7adb4a9 (patch)
tree3bf51eb9b30b759f48650cb5aaf3496c05c95177 /lib/Target/PowerPC/PPCTargetMachine.h
parent7a46d7898e3eff918c945131ca2ca705885f2552 (diff)
downloadllvm-4246790aa84a530b0378d917023584c2c7adb4a9.tar.gz
llvm-4246790aa84a530b0378d917023584c2c7adb4a9.tar.bz2
llvm-4246790aa84a530b0378d917023584c2c7adb4a9.tar.xz
Register Target's TargetMachine and AsmPrinter in the new registry.
- This abuses TargetMachineRegistry's constructor for now, this will get cleaned up in time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.h')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.h b/lib/Target/PowerPC/PPCTargetMachine.h
index e6f61029f3..393474c576 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.h
+++ b/lib/Target/PowerPC/PPCTargetMachine.h
@@ -45,7 +45,7 @@ protected:
// To avoid having target depend on the asmprinter stuff libraries, asmprinter
// set this functions to ctor pointer at startup time if they are linked in.
typedef FunctionPass *(*AsmPrinterCtorFn)(formatted_raw_ostream &o,
- PPCTargetMachine &tm,
+ TargetMachine &m,
bool verbose);
static AsmPrinterCtorFn AsmPrinterCtor;