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 /include | |
parent | 5d0bf1bc6fc5d1d049adb98f95cda3e4737abaf2 (diff) | |
download | external_llvm-7a01e959156ba4e0a15b45a1f153f67d1646c0a5.zip external_llvm-7a01e959156ba4e0a15b45a1f153f67d1646c0a5.tar.gz external_llvm-7a01e959156ba4e0a15b45a1f153f67d1646c0a5.tar.bz2 |
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 'include')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index ad4f431..250b69b 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -24,15 +24,6 @@ namespace llvm { template <typename T> class SmallVectorImpl; class TargetMachine; - // DWARF encoding query type - namespace DwarfEncoding { - enum Target { - Data = 0, - CodeLabels = 1, - Functions = 2 - }; - } - /// TargetAsmInfo - This class is intended to be used as a base class for asm /// properties and features specific to the target. class TargetAsmInfo { @@ -429,11 +420,8 @@ namespace llvm { virtual unsigned getInlineAsmLength(const char *Str) const; /// PreferredEHDataFormat - This hook allows the target to select data - /// format used for encoding pointers in exception handling data. Reason is - /// 0 for data, 1 for code labels, 2 for function pointers. Global is true - /// if the symbol can be relocated. - virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason, - bool Global) const; + /// format used for encoding pointers in exception handling data. + virtual unsigned PreferredEHDataFormat() const; /// getSLEB128Size - Compute the number of bytes required for a signed |