From: NAKAMURA Takumi Date: Tue, 8 Nov 2011 04:00:07 +0000 (+0000) Subject: PPCInstrInfo.cpp: Fix one "unused" warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0839033cbca20a1d1348bdf1c9f63fb263b248a6;p=oota-llvm.git PPCInstrInfo.cpp: Fix one "unused" warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144071 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCInstrInfo.cpp b/lib/Target/PowerPC/PPCInstrInfo.cpp index 36a10f49a42..f148e9daff2 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().getDarwinDirective();