mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user