diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-31 21:39:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-31 21:39:55 +0000 |
commit | 7a01e959156ba4e0a15b45a1f153f67d1646c0a5 (patch) | |
tree | 07694012d3f7fb9102628b95171736a074e551ed /lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | 5d0bf1bc6fc5d1d049adb98f95cda3e4737abaf2 (diff) |
PreferredEHDataFormat is always call with data and global, but this whole
thing is #if0'd out anyway. Just simplify the code by reducing the interface.
Not deleting this is essential for Bill's continuing happiness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index 49512a3bb4..a05bbb2b6f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -557,7 +557,7 @@ void DwarfException::EmitExceptionTable() { #if 0 // FIXME: This should default to what the system wants, not just "absptr". if (!TypeInfos.empty() || !FilterIds.empty()) { - Asm->EmitInt8(TAI->PreferredEHDataFormat(DwarfEncoding::Data, true)); + Asm->EmitInt8(TAI->PreferredEHDataFormat()); // FIXME: The comment here should correspond with what PreferredEHDataFormat // returned. Asm->EOL("TType format (DW_EH_PE_xxxxx)"); |