diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h index 79dabf4f632..34f4dd5136c 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h +++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h @@ -24,8 +24,7 @@ namespace llvm { template <class BaseTAI> struct PPCTargetAsmInfo : public BaseTAI { - explicit PPCTargetAsmInfo(const PPCTargetMachine &TM): - BaseTAI(TM) { + explicit PPCTargetAsmInfo(const PPCTargetMachine &TM) { const PPCSubtarget *Subtarget = &TM.getSubtarget<PPCSubtarget>(); bool isPPC64 = Subtarget->isPPC64(); @@ -48,7 +47,7 @@ namespace llvm { explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM); }; - struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo<ELFTargetAsmInfo> { + struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo<TargetAsmInfo> { explicit PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM); }; |