diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCAsmInfo.h | 6 | ||||
-rw-r--r-- | include/llvm/MC/MCAsmInfoCOFF.h | 2 | ||||
-rw-r--r-- | include/llvm/MC/MCAsmInfoDarwin.h | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h index 7ca7ecb..0be2753 100644 --- a/include/llvm/MC/MCAsmInfo.h +++ b/include/llvm/MC/MCAsmInfo.h @@ -24,7 +24,6 @@ namespace llvm { namespace ExceptionHandling { enum ExceptionsType { None, Dwarf, SjLj }; } class MCAsmInfo { - bool IsLittleEndian; protected: //===------------------------------------------------------------------===// // Properties to be set by the target writer, used to configure asm printer. @@ -286,12 +285,9 @@ namespace llvm { const char *const *AsmTransCBE; // Defaults to empty public: - explicit MCAsmInfo(bool isLittleEndian); + explicit MCAsmInfo(); virtual ~MCAsmInfo(); - bool isLittleEndian() const { return IsLittleEndian; } - bool isBigEndian() const { return !IsLittleEndian; } - /// getSLEB128Size - Compute the number of bytes required for a signed /// leb128 value. static unsigned getSLEB128Size(int Value); diff --git a/include/llvm/MC/MCAsmInfoCOFF.h b/include/llvm/MC/MCAsmInfoCOFF.h index 97e9aee..a3ee159 100644 --- a/include/llvm/MC/MCAsmInfoCOFF.h +++ b/include/llvm/MC/MCAsmInfoCOFF.h @@ -15,7 +15,7 @@ namespace llvm { class MCAsmInfoCOFF : public MCAsmInfo { protected: - explicit MCAsmInfoCOFF(bool isLittleEndian); + explicit MCAsmInfoCOFF(); }; } diff --git a/include/llvm/MC/MCAsmInfoDarwin.h b/include/llvm/MC/MCAsmInfoDarwin.h index f5e897d..c85aa3d 100644 --- a/include/llvm/MC/MCAsmInfoDarwin.h +++ b/include/llvm/MC/MCAsmInfoDarwin.h @@ -24,7 +24,7 @@ namespace llvm { class Mangler; struct MCAsmInfoDarwin : public MCAsmInfo { - explicit MCAsmInfoDarwin(bool isLittleEndian); + explicit MCAsmInfoDarwin(); }; } |