aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CBackend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-20 06:34:14 +0000
committerChris Lattner <sabre@nondot.org>2010-01-20 06:34:14 +0000
commit50f82ef05abe8d27ecb77f6ffa1bcefb51e383c4 (patch)
treeac7cb188d3d10049dc657fb5c1024e94abdb6bcb /lib/Target/CBackend
parentb69e044924a2a5317d1cdbe013b60656c66fbf68 (diff)
downloadexternal_llvm-50f82ef05abe8d27ecb77f6ffa1bcefb51e383c4.zip
external_llvm-50f82ef05abe8d27ecb77f6ffa1bcefb51e383c4.tar.gz
external_llvm-50f82ef05abe8d27ecb77f6ffa1bcefb51e383c4.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 'lib/Target/CBackend')
-rw-r--r--lib/Target/CBackend/CBackend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp
index 1feadd2..5015d1b 100644
--- a/lib/Target/CBackend/CBackend.cpp
+++ b/lib/Target/CBackend/CBackend.cpp
@@ -60,7 +60,7 @@ extern "C" void LLVMInitializeCBackendTarget() {
namespace {
class CBEMCAsmInfo : public MCAsmInfo {
public:
- CBEMCAsmInfo(bool isLE) : MCAsmInfo(isLE) {
+ CBEMCAsmInfo() {
GlobalPrefix = "";
PrivateGlobalPrefix = "";
}
@@ -1893,7 +1893,7 @@ bool CWriter::doInitialization(Module &M) {
if (const Target *Match = TargetRegistry::lookupTarget(Triple, E))
TAsm = Match->createAsmInfo(Triple);
#endif
- TAsm = new CBEMCAsmInfo(TD->isLittleEndian());
+ TAsm = new CBEMCAsmInfo();
Mang = new Mangler(*TAsm);
// Keep track of which functions are static ctors/dtors so they can have