[llvm-commits] [llvm] r144071 - /llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Mon Nov 7 20:00:08 PST 2011
Author: chapuni
Date: Mon Nov 7 22:00:07 2011
New Revision: 144071
URL: http://llvm.org/viewvc/llvm-project?rev=144071&view=rev
Log:
PPCInstrInfo.cpp: Fix one "unused" warning.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp?rev=144071&r1=144070&r2=144071&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.cpp Mon Nov 7 22:00:07 2011
@@ -52,6 +52,7 @@
// 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();
More information about the llvm-commits
mailing list