aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-11 20:42:37 +0000
committerChris Lattner <sabre@nondot.org>2009-08-11 20:42:37 +0000
commitd9236ecabe1bd73e89ce5cdb12da8a1bfdc67a0d (patch)
treedcfe9e4849884a56ad41a319e64541f9de2b4a66 /lib/Target/PIC16
parentc4b2d0485d2431b880fcaafe3a2a271cd33f51bb (diff)
downloadexternal_llvm-d9236ecabe1bd73e89ce5cdb12da8a1bfdc67a0d.zip
external_llvm-d9236ecabe1bd73e89ce5cdb12da8a1bfdc67a0d.tar.gz
external_llvm-d9236ecabe1bd73e89ce5cdb12da8a1bfdc67a0d.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/PIC16')
-rw-r--r--lib/Target/PIC16/PIC16TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16TargetMachine.cpp b/lib/Target/PIC16/PIC16TargetMachine.cpp
index f2d8aab..d09097c 100644
--- a/lib/Target/PIC16/PIC16TargetMachine.cpp
+++ b/lib/Target/PIC16/PIC16TargetMachine.cpp
@@ -23,7 +23,7 @@ using namespace llvm;
// PIC16TargetMachine - Traditional PIC16 Machine.
PIC16TargetMachine::PIC16TargetMachine(const Target &T, const std::string &TT,
const std::string &FS, bool Cooper)
-: LLVMTargetMachine(T),
+: LLVMTargetMachine(T, TT),
Subtarget(TT, FS, Cooper),
DataLayout("e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"),
InstrInfo(*this), TLInfo(*this),