summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-11-08 04:00:07 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-11-08 04:00:07 +0000
commit0839033cbca20a1d1348bdf1c9f63fb263b248a6 (patch)
treef13079f8a1ddc06f3f7eea9b7b6ede9e9a465bc7 /lib
parentd66d5718a4c6bf0432175eedc81537dc06cac48a (diff)
downloadllvm-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.cpp1
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();