diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-08 04:00:07 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-08 04:00:07 +0000 |
commit | 05aa1a42c3f8777ccfb9dd040482512f0b92b557 (patch) | |
tree | 5c157e831a256966efe88b797cba9257fcb4f1c9 /llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | |
parent | bb8a523c62b416c60efdeb19cf1235819a6db358 (diff) | |
download | bcm5719-llvm-05aa1a42c3f8777ccfb9dd040482512f0b92b557.tar.gz bcm5719-llvm-05aa1a42c3f8777ccfb9dd040482512f0b92b557.zip |
PPCInstrInfo.cpp: Fix one "unused" warning.
llvm-svn: 144071
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp index 36a10f49a42..f148e9daff2 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/llvm/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<PPCSubtarget>().getDarwinDirective(); |