PPCInstrInfo.cpp: Fix one "unused" warning.

llvm-svn: 144071
This commit is contained in:
NAKAMURA Takumi 2011-11-08 04:00:07 +00:00
parent bb8a523c62
commit 05aa1a42c3
1 changed files with 1 additions and 0 deletions

View 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();