aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCTargetObjectFile.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-08 14:53:28 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-08 14:53:28 +0000
commitfa0f72837f98fd13fb2dfee1712be4a8b13b0260 (patch)
treee273826acddef8931f15d8a32df7d5c264b8e246 /llvm/lib/Target/PowerPC/PPCTargetObjectFile.h
parentbfc57f8370ea39e936b9bb41456fd8d60c0f3108 (diff)
downloadllvm-fa0f72837f98fd13fb2dfee1712be4a8b13b0260.zip
llvm-fa0f72837f98fd13fb2dfee1712be4a8b13b0260.tar.gz
llvm-fa0f72837f98fd13fb2dfee1712be4a8b13b0260.tar.bz2
Pass the Mangler by reference.
It is never null and it is not used in casts, so there is no reason to use a pointer. This matches how we pass TM. llvm-svn: 201025
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetObjectFile.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetObjectFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetObjectFile.h b/llvm/lib/Target/PowerPC/PPCTargetObjectFile.h
index 8042a79..475ebd8 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetObjectFile.h
+++ b/llvm/lib/Target/PowerPC/PPCTargetObjectFile.h
@@ -23,7 +23,7 @@ namespace llvm {
void Initialize(MCContext &Ctx, const TargetMachine &TM) LLVM_OVERRIDE;
const MCSection *SelectSectionForGlobal(const GlobalValue *GV,
- SectionKind Kind, Mangler *Mang,
+ SectionKind Kind, Mangler &Mang,
const TargetMachine &TM) const
LLVM_OVERRIDE;