diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-11 20:42:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-11 20:42:37 +0000 |
commit | 0a31d2f6456069adba19b8aeca66c68b633c38b4 (patch) | |
tree | dcfe9e4849884a56ad41a319e64541f9de2b4a66 /lib/Target/Sparc | |
parent | 92319e24549a4855a4b09bf7a71660296bf75b2d (diff) | |
download | external_llvm-0a31d2f6456069adba19b8aeca66c68b633c38b4.zip external_llvm-0a31d2f6456069adba19b8aeca66c68b633c38b4.tar.gz external_llvm-0a31d2f6456069adba19b8aeca66c68b633c38b4.tar.bz2 |
pass the TargetTriple down from each target ctor to the
LLVMTargetMachine ctor. It is currently unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcTargetMachine.cpp b/lib/Target/Sparc/SparcTargetMachine.cpp index f7c1722..c9a3cdd 100644 --- a/lib/Target/Sparc/SparcTargetMachine.cpp +++ b/lib/Target/Sparc/SparcTargetMachine.cpp @@ -31,7 +31,7 @@ const TargetAsmInfo *SparcTargetMachine::createTargetAsmInfo() const { /// SparcTargetMachine::SparcTargetMachine(const Target &T, const std::string &TT, const std::string &FS) - : LLVMTargetMachine(T), + : LLVMTargetMachine(T, TT), DataLayout("E-p:32:32-f128:128:128"), Subtarget(TT, FS), TLInfo(*this), InstrInfo(Subtarget), FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0) { |