summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-18 00:37:40 +0000
committerChris Lattner <sabre@nondot.org>2010-01-18 00:37:40 +0000
commitc8f7717808df07c096107cb397a91e0772bca028 (patch)
tree821c507e5c81b993a84883aa5cd7e6461b686417 /llvm/lib/CodeGen
parentfae53f0c61224864bb8f5a3815d1b4317b1ddf5c (diff)
downloadbcm5719-llvm-c8f7717808df07c096107cb397a91e0772bca028.tar.gz
bcm5719-llvm-c8f7717808df07c096107cb397a91e0772bca028.zip
remove the MAI argument to MCExpr::print and switch overthing to use << when printing them.
llvm-svn: 93699
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index ad6df15c443..8de9bd65cac 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud