diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-08 14:53:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-08 14:53:28 +0000 |
commit | fa0f72837f98fd13fb2dfee1712be4a8b13b0260 (patch) | |
tree | e273826acddef8931f15d8a32df7d5c264b8e246 /llvm/lib/Target/Mips/MipsTargetObjectFile.cpp | |
parent | bfc57f8370ea39e936b9bb41456fd8d60c0f3108 (diff) | |
download | bcm5719-llvm-fa0f72837f98fd13fb2dfee1712be4a8b13b0260.tar.gz bcm5719-llvm-fa0f72837f98fd13fb2dfee1712be4a8b13b0260.zip |
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/Mips/MipsTargetObjectFile.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsTargetObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetObjectFile.cpp b/llvm/lib/Target/Mips/MipsTargetObjectFile.cpp index a476c5c3244..13f9408f4e6 100644 --- a/llvm/lib/Target/Mips/MipsTargetObjectFile.cpp +++ b/llvm/lib/Target/Mips/MipsTargetObjectFile.cpp @@ -88,7 +88,7 @@ IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, const MCSection *MipsTargetObjectFile:: SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, - Mangler *Mang, const TargetMachine &TM) const { + Mangler &Mang, const TargetMachine &TM) const { // TODO: Could also support "weak" symbols as well with ".gnu.linkonce.s.*" // sections? |