aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCTargetMachine.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
commitd988b32abad0634df07c18629e899f256935fde7 (patch)
treeeb2a0c7e6ea1e92e113c361ae2f760fabe02bf1c /lib/Target/PowerPC/PPCTargetMachine.cpp
parenta831a6c1c5d071fadf348473ca12254b88b18605 (diff)
Make all of the TargetMachine subclasses use the new string TargetData methods.
This is part of the on-going work on PR 761. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28414 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index fd9df20b77..0ac093ceb5 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -59,7 +59,7 @@ unsigned PPCTargetMachine::getModuleMatchQuality(const Module &M) {
PPCTargetMachine::PPCTargetMachine(const Module &M, const std::string &FS)
: TargetMachine("PowerPC"),
- DataLayout("PowerPC", false, 4, 4, 4, 4, 4),
+ DataLayout(std::string("PowerPC"), std::string("E-p:32:32-d:64:32-l:64:32")),
Subtarget(M, FS), FrameInfo(*this, false), JITInfo(*this),
TLInfo(*this), InstrItins(Subtarget.getInstrItineraryData()) {
if (TargetDefault == PPCTarget) {