diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-01 17:57:27 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-01 17:57:27 +0000 |
commit | 703a0fbf390bae4a6c087fb28f40e0b8e21644e5 (patch) | |
tree | c826333a021d8bcbb4f59c212a291890a57c8830 /llvm/lib/Target/PowerPC/PPCInstrInfo.h | |
parent | 4def704a218191c0296954aa0c24659e4553c969 (diff) | |
download | bcm5719-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/PowerPC/PPCInstrInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.h b/llvm/lib/Target/PowerPC/PPCInstrInfo.h index b5249ae0376..90bacc96c87 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.h +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.h @@ -18,6 +18,9 @@ #include "llvm/Target/TargetInstrInfo.h" #include "PPCRegisterInfo.h" +#define GET_INSTRINFO_HEADER +#include "PPCGenInstrInfo.inc" + namespace llvm { /// PPCII - This namespace holds all of the PowerPC target-specific @@ -61,7 +64,7 @@ enum PPC970_Unit { } // end namespace PPCII -class PPCInstrInfo : public TargetInstrInfoImpl { +class PPCInstrInfo : public PPCGenInstrInfo { PPCTargetMachine &TM; const PPCRegisterInfo RI; |