From 63779b8d5766900a361857dd4927e1232c184bee Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 31 Jul 2009 21:39:55 +0000 Subject: 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 --- llvm/lib/Target/TargetAsmInfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/Target/TargetAsmInfo.cpp') diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp index e71bd01aae0..4c6100ba882 100644 --- a/llvm/lib/Target/TargetAsmInfo.cpp +++ b/llvm/lib/Target/TargetAsmInfo.cpp @@ -148,8 +148,7 @@ unsigned TargetAsmInfo::getInlineAsmLength(const char *Str) const { return Length; } -unsigned TargetAsmInfo::PreferredEHDataFormat(DwarfEncoding::Target Reason, - bool Global) const { +unsigned TargetAsmInfo::PreferredEHDataFormat() const { return dwarf::DW_EH_PE_absptr; } -- cgit v1.2.3