summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetMachine.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2006-05-20 00:24:56 +0000
committerOwen Anderson <resistor@mac.com>2006-05-20 00:24:56 +0000
commit88812b5c0a1006393a0d9e060408206926d091fd (patch)
treeab480afcbd5e6918105db2916207e4db35cf5f12 /llvm/lib/Target/ARM/ARMTargetMachine.cpp
parentc4e9aff50f5d941d954694e4b5d59ddd354e5aec (diff)
downloadbcm5719-llvm-88812b5c0a1006393a0d9e060408206926d091fd.tar.gz
bcm5719-llvm-88812b5c0a1006393a0d9e060408206926d091fd.zip
Make all of the TargetMachine subclasses use the new string TargetData methods.
This is part of the on-going work on PR 761. llvm-svn: 28414
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetMachine.cpp b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
index 7520cdc5e8b..45d72419100 100644
--- a/llvm/lib/Target/ARM/ARMTargetMachine.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
@@ -33,7 +33,7 @@ namespace {
///
ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
: TargetMachine("ARM"),
- DataLayout("ARM", false, 4, 4),
+ DataLayout(std::string("ARM"), std::string("E-p:32:32")),
InstrInfo(),
FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0) {
}
OpenPOWER on IntegriCloud