diff options
author | Duncan Sands <baldrick@free.fr> | 2007-12-12 23:03:45 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-12-12 23:03:45 +0000 |
commit | fde556745bfc6ec9dae2d1dbca3b6f734d3f842c (patch) | |
tree | c33562bce71e402b42d7082854958ff09385a4d5 /llvm/lib/Target | |
parent | 1daa3cfbae60569c33a0c695f10fb4ccf243a173 (diff) | |
download | bcm5719-llvm-fde556745bfc6ec9dae2d1dbca3b6f734d3f842c.tar.gz bcm5719-llvm-fde556745bfc6ec9dae2d1dbca3b6f734d3f842c.zip |
Remove host endianness info from TargetData and
put it in a new header System/Host.h instead.
Instead of getting the endianness from configure,
calculate it directly.
llvm-svn: 44959
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/TargetData.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp index 49298054735..8c466543fac 100644 --- a/llvm/lib/Target/TargetData.cpp +++ b/llvm/lib/Target/TargetData.cpp @@ -25,7 +25,6 @@ #include "llvm/Support/ManagedStatic.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/StringExtras.h" -#include "llvm/Config/config.h" #include <algorithm> #include <cstdlib> #include <sstream> @@ -133,14 +132,6 @@ const TargetAlignElem TargetData::InvalidAlignmentElem = // TargetData Class Implementation //===----------------------------------------------------------------------===// -bool TargetData::hostIsLittleEndian() const { -#ifdef LSB_FIRST - return true; -#else - return false; -#endif -} - /*! A TargetDescription string consists of a sequence of hyphen-delimited specifiers for target endianness, pointer size and alignments, and various |