mcize uses of PrintRelDirective and eliminate it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98107 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-03-10 00:09:21 +00:00
parent 4aeaca4053
commit 90e4af7b9d
3 changed files with 9 additions and 21 deletions

View File

@ -886,13 +886,11 @@ void DwarfException::EmitExceptionTable() {
I = TypeInfos.rbegin(), E = TypeInfos.rend(); I != E; ++I) {
const GlobalVariable *GV = *I;
if (GV) {
Asm->OutStreamer.AddComment("TypeInfo");
Asm->OutStreamer.AddComment("TypeInfo");
if (GV)
EmitReference(GV, TTypeEncoding);
} else {
PrintRelDirective(TTypeEncoding);
O << "0x0\n";
}
else
Asm->OutStreamer.EmitIntValue(0, SizeOfEncodedValue(TTypeEncoding), 0);
}
// Emit the Exception Specifications.