remove the MAI argument to MCExpr::print and switch overthing to use << when printing...
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfException.cpp
index ad6df15c443dcf5e70724c5baa0d8b5b28486d6c..8de9bd65cac5ff9a22cf3c05e0cfa28334efb0d1 100644 (file)
@@ -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);