From 0839033cbca20a1d1348bdf1c9f63fb263b248a6 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 8 Nov 2011 04:00:07 +0000 Subject: [PATCH] PPCInstrInfo.cpp: Fix one "unused" warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144071 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCInstrInfo.cpp | 1 + 1 file changed, 1 insertion(+) 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();