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/CodeGen/AsmPrinter/Win64Exception.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/CodeGen/AsmPrinter/Win64Exception.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp b/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp index 4844cf65d2c..eda444bd692 100644 --- a/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp @@ -101,7 +101,7 @@ void Win64Exception::endFunction(const MachineFunction *) { if (shouldEmitPersonality) { const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering(); const Function *Per = MMI->getPersonalities()[MMI->getPersonalityIndex()]; - const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, Asm->Mang, MMI); + const MCSymbol *Sym = TLOF.getCFIPersonalitySymbol(Per, *Asm->Mang, MMI); Asm->OutStreamer.PushSection(); Asm->OutStreamer.EmitWin64EHHandlerData(); |