summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-01 17:57:27 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-01 17:57:27 +0000
commit703a0fbf390bae4a6c087fb28f40e0b8e21644e5 (patch)
treec826333a021d8bcbb4f59c212a291890a57c8830 /llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
parent4def704a218191c0296954aa0c24659e4553c969 (diff)
downloadbcm5719-llvm-703a0fbf390bae4a6c087fb28f40e0b8e21644e5.tar.gz
bcm5719-llvm-703a0fbf390bae4a6c087fb28f40e0b8e21644e5.zip
Hide the call to InitMCInstrInfo into tblgen generated ctor.
llvm-svn: 134244
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp b/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
index 71ba9f9e7f8..fae9a6a6157 100644
--- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
@@ -23,14 +23,14 @@
#include "llvm/CodeGen/PseudoSourceValue.h"
#include "llvm/Support/ErrorHandling.h"
+#define GET_INSTRINFO_CTOR
#define GET_INSTRINFO_MC_DESC
#include "SystemZGenInstrInfo.inc"
using namespace llvm;
SystemZInstrInfo::SystemZInstrInfo(SystemZTargetMachine &tm)
- : TargetInstrInfoImpl(SystemZInsts, array_lengthof(SystemZInsts),
- SystemZ::ADJCALLSTACKUP, SystemZ::ADJCALLSTACKDOWN),
+ : SystemZGenInstrInfo(SystemZ::ADJCALLSTACKUP, SystemZ::ADJCALLSTACKDOWN),
RI(tm, *this), TM(tm) {
}
OpenPOWER on IntegriCloud