diff options
author | Owen Anderson <resistor@mac.com> | 2006-05-20 00:24:56 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2006-05-20 00:24:56 +0000 |
commit | d988b32abad0634df07c18629e899f256935fde7 (patch) | |
tree | eb2a0c7e6ea1e92e113c361ae2f760fabe02bf1c /lib/Target/X86/X86TargetMachine.cpp | |
parent | a831a6c1c5d071fadf348473ca12254b88b18605 (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/X86/X86TargetMachine.cpp')
-rw-r--r-- | lib/Target/X86/X86TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 4791f028ea..cbe1e76186 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -69,7 +69,7 @@ unsigned X86TargetMachine::getModuleMatchQuality(const Module &M) { /// X86TargetMachine::X86TargetMachine(const Module &M, const std::string &FS) : TargetMachine("X86"), - DataLayout("X86", true, 4, 4, 4, 4, 4), + DataLayout(std::string("X86"), std::string("e-p:32:32-d:64:32-l:64:32")), Subtarget(M, FS), FrameInfo(TargetFrameInfo::StackGrowsDown, Subtarget.getStackAlignment(), -4), |