OSDN Git Service

PPCInstrInfo.cpp: Fix one "unused" warning.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 8 Nov 2011 04:00:07 +0000 (04:00 +0000)
committerStephen Hines <srhines@google.com>
Mon, 14 Nov 2011 17:11:59 +0000 (09:11 -0800)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144071 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrInfo.cpp

index 36a10f4..f148e9d 100644 (file)
@@ -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();