summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetAsmInfo.cpp
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/Target/TargetAsmInfo.cpp
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/Target/TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetAsmInfo.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}
OpenPOWER on IntegriCloud