summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-31 21:39:55 +0000
committerChris Lattner <sabre@nondot.org>2009-07-31 21:39:55 +0000
commit63779b8d5766900a361857dd4927e1232c184bee (patch)
tree1f60d3b1c7c488bc8901e1acdf616c0e28586da2 /llvm/lib/CodeGen
parentd65ab045e84c265e39e5cab9606c4489c9d21304 (diff)
downloadbcm5719-llvm-63779b8d5766900a361857dd4927e1232c184bee.tar.gz
bcm5719-llvm-63779b8d5766900a361857dd4927e1232c184bee.zip
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. llvm-svn: 77736
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 49512a3bb4e..a05bbb2b6f7 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/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)");
OpenPOWER on IntegriCloud