diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-03-10 00:09:21 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-03-10 00:09:21 +0000 |
| commit | caea64b09806a7c6500ceaf93bde4d48d22f810f (patch) | |
| tree | afee478d9dfca25e7abcb2bc41084adce7f8b7d3 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
| parent | 1df0cf40ea8486a7855aa2924c3bb51a64037750 (diff) | |
| download | bcm5719-llvm-caea64b09806a7c6500ceaf93bde4d48d22f810f.tar.gz bcm5719-llvm-caea64b09806a7c6500ceaf93bde4d48d22f810f.zip | |
mcize uses of PrintRelDirective and eliminate it.
llvm-svn: 98107
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index 99e12e2e3e6..4f445343555 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -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. |

