summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreInstrInfo.h
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/XCore/XCoreInstrInfo.h
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/XCore/XCoreInstrInfo.h')
-rw-r--r--llvm/lib/Target/XCore/XCoreInstrInfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreInstrInfo.h b/llvm/lib/Target/XCore/XCoreInstrInfo.h
index 977fe8dd550..840b1e16365 100644
--- a/llvm/lib/Target/XCore/XCoreInstrInfo.h
+++ b/llvm/lib/Target/XCore/XCoreInstrInfo.h
@@ -17,9 +17,12 @@
#include "llvm/Target/TargetInstrInfo.h"
#include "XCoreRegisterInfo.h"
+#define GET_INSTRINFO_HEADER
+#include "XCoreGenInstrInfo.inc"
+
namespace llvm {
-class XCoreInstrInfo : public TargetInstrInfoImpl {
+class XCoreInstrInfo : public XCoreGenInstrInfo {
const XCoreRegisterInfo RI;
public:
XCoreInstrInfo();
OpenPOWER on IntegriCloud