diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-18 00:37:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-18 00:37:40 +0000 |
commit | 8cb9a3b13f3226b7e741768b69d26ecd6b5231f1 (patch) | |
tree | 512b0fe9b4b5781e1547c555c92db9b42faa9b1e /lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | 950558aa23dfeb0014b7081f61ab932fe8c6f25c (diff) |
remove the MAI argument to MCExpr::print and switch overthing to use << when printing them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfException.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index ad6df15c44..8de9bd65ca 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -194,8 +194,7 @@ void DwarfException::EmitCIE(const Function *PersonalityFn, unsigned Index) { PersonalityRef = CreateLabelDiff(PersonalityRef, "personalityref_addr", Index); - O << MAI->getData32bitsDirective(); - PersonalityRef->print(O, MAI); + O << MAI->getData32bitsDirective() << *PersonalityRef; Asm->EOL("Personality"); Asm->EmitInt8(LSDAEncoding); |