aboutsummaryrefslogtreecommitdiff
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
commit8eeba35babf3114966fc4e6e8522057e46b610db (patch)
treeac7cb188d3d10049dc657fb5c1024e94abdb6bcb /lib/Target/CBackend
parent6f8694b272ffbd5b4746feccd4866bf89794fe86 (diff)
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 1feadd2a93..5015d1bcce 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