diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-08 04:00:07 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-08 04:00:07 +0000 |
commit | 0839033cbca20a1d1348bdf1c9f63fb263b248a6 (patch) | |
tree | f13079f8a1ddc06f3f7eea9b7b6ede9e9a465bc7 /lib | |
parent | d66d5718a4c6bf0432175eedc81537dc06cac48a (diff) | |
download | llvm-0839033cbca20a1d1348bdf1c9f63fb263b248a6.tar.gz llvm-0839033cbca20a1d1348bdf1c9f63fb263b248a6.tar.bz2 llvm-0839033cbca20a1d1348bdf1c9f63fb263b248a6.tar.xz |
PPCInstrInfo.cpp: Fix one "unused" warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.cpp b/lib/Target/PowerPC/PPCInstrInfo.cpp index 36a10f49a4..f148e9daff 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/lib/Target/PowerPC/PPCInstrInfo.cpp @@ -52,6 +52,7 @@ ScheduleHazardRecognizer *PPCInstrInfo::CreateTargetHazardRecognizer( // Should use subtarget info to pick the right hazard recognizer. For // now, always return a PPC970 recognizer. const TargetInstrInfo *TII = TM->getInstrInfo(); + (void)TII; assert(TII && "No InstrInfo?"); unsigned Directive = TM->getSubtarget<PPCSubtarget>().getDarwinDirective(); |