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
This commit is contained in:
Owen Anderson
2006-05-20 00:24:56 +00:00
parent a831a6c1c5
commit d988b32aba
7 changed files with 11 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ namespace {
///
SparcTargetMachine::SparcTargetMachine(const Module &M, const std::string &FS)
: TargetMachine("Sparc"),
DataLayout("Sparc", false, 4, 4),
DataLayout(std::string("Sparc"), std::string("e-p:32:32")),
Subtarget(M, FS), InstrInfo(Subtarget),
FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0) {
}