aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-12 22:05:46 +0000
committerEric Christopher <echristo@gmail.com>2014-06-12 22:05:46 +0000
commitbd14dc519ca2a0fc15f67288e25cdab4e84d9e98 (patch)
treef9f6f57038eab32c1a8e0f5fae2ac8d5a698572d /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parent002840cf66d535a1627a226ed08c74281f2e21be (diff)
downloadllvm-bd14dc519ca2a0fc15f67288e25cdab4e84d9e98.zip
llvm-bd14dc519ca2a0fc15f67288e25cdab4e84d9e98.tar.gz
llvm-bd14dc519ca2a0fc15f67288e25cdab4e84d9e98.tar.bz2
Move PPCInstrInfo off of the target machine and onto the subtarget.
llvm-svn: 210839
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index 869fe89..4e04dfa 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -42,8 +42,8 @@ PPCTargetMachine::PPCTargetMachine(const Target &T, StringRef TT, StringRef CPU,
Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL, bool is64Bit)
: LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
- Subtarget(TT, CPU, FS, is64Bit, OL), InstrInfo(Subtarget),
- JITInfo(*this, is64Bit), TLInfo(*this), TSInfo(*this) {
+ Subtarget(TT, CPU, FS, is64Bit, OL), JITInfo(*this, is64Bit),
+ TLInfo(*this), TSInfo(*this) {
initAsmInfo();
}