summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorMicah Villmow <villmow@gmail.com>2012-10-11 21:27:41 +0000
committerMicah Villmow <villmow@gmail.com>2012-10-11 21:27:41 +0000
commit0c61134d8d00b38f5f09233957317b23a408bd55 (patch)
treeee822ef49633f0d80ce4ce8f4b8d99485c4f2dc1 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
parent5968b1b71f880582dd9cc57e8f3669ba100ee9f9 (diff)
downloadbcm5719-llvm-0c61134d8d00b38f5f09233957317b23a408bd55.tar.gz
bcm5719-llvm-0c61134d8d00b38f5f09233957317b23a408bd55.zip
Revert 165732 for further review.
llvm-svn: 165747
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-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 31d07141a1d..08fb6b3f52c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -417,7 +417,7 @@ void DwarfException::EmitExceptionTable() {
// that we're omitting that bit.
TTypeEncoding = dwarf::DW_EH_PE_omit;
// dwarf::DW_EH_PE_absptr
- TypeFormatSize = Asm->getDataLayout().getPointerSize(0);
+ TypeFormatSize = Asm->getDataLayout().getPointerSize();
} else {
// Okay, we have actual filters or typeinfos to emit. As such, we need to
// pick a type encoding for them. We're about to emit a list of pointers to
OpenPOWER on IntegriCloud