summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-15 02:09:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-15 02:09:41 +0000
commita83b37a9db2880091f4f8e7683c30ca142678fff (patch)
tree6b1a24b3947cec4bb8af1f6c0f37983211cfa712 /llvm/lib/MC/MCAsmInfo.cpp
parent9b8605f78795f83b4e65a5a763772984d122702a (diff)
downloadbcm5719-llvm-a83b37a9db2880091f4f8e7683c30ca142678fff.tar.gz
bcm5719-llvm-a83b37a9db2880091f4f8e7683c30ca142678fff.zip
Move some parts of TargetAsmInfo down to MCAsmInfo. This is not the greatest
solution but it is a small step towards removing the horror that is TargetAsmInfo. llvm-svn: 135237
Diffstat (limited to 'llvm/lib/MC/MCAsmInfo.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp
index b8ce24b78f4..502b60b0edf 100644
--- a/llvm/lib/MC/MCAsmInfo.cpp
+++ b/llvm/lib/MC/MCAsmInfo.cpp
@@ -23,6 +23,9 @@
using namespace llvm;
MCAsmInfo::MCAsmInfo() {
+ PointerSize = 4;
+ IsLittleEndian = true;
+ StackGrowsUp = false;
HasSubsectionsViaSymbols = false;
HasMachoZeroFillDirective = false;
HasMachoTBSSDirective = false;
OpenPOWER on IntegriCloud