diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-20 06:34:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-20 06:34:14 +0000 |
commit | 8eeba35babf3114966fc4e6e8522057e46b610db (patch) | |
tree | ac7cb188d3d10049dc657fb5c1024e94abdb6bcb /include | |
parent | 6f8694b272ffbd5b4746feccd4866bf89794fe86 (diff) | |
download | external_llvm-8eeba35babf3114966fc4e6e8522057e46b610db.zip external_llvm-8eeba35babf3114966fc4e6e8522057e46b610db.tar.gz external_llvm-8eeba35babf3114966fc4e6e8522057e46b610db.tar.bz2 |
revert 93934, removing the MCAsmInfo endianness bit. I can't
stomache MCAsmInfo having this, and I found a better solution to
this layering issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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(); }; } |