OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5be32
)
PPCInstrInfo.cpp: Fix one "unused" warning.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 8 Nov 2011 04:00:07 +0000
(
04:00
+0000)
committer
Stephen Hines
<srhines@google.com>
Mon, 14 Nov 2011 17:11:59 +0000
(09:11 -0800)
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
36a10f4
..
f148e9d
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();