forked from OSchip/llvm-project
PPCInstrInfo.cpp: Fix one "unused" warning.
llvm-svn: 144071
This commit is contained in:
parent
bb8a523c62
commit
05aa1a42c3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue