projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66d571
)
PPCInstrInfo.cpp: Fix one "unused" warning.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 8 Nov 2011 04:00:07 +0000
(
04:00
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 8 Nov 2011 04:00:07 +0000
(
04:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144071
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.cpp
b/lib/Target/PowerPC/PPCInstrInfo.cpp
index 36a10f49a421713e4a69a68d727c28f52bb001bd..f148e9daff22df234152f9d49d26d33f903265ea 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrInfo.cpp
+++ b/
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();