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:
7cbb95f
)
Avoid unused parameter warning.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 28 Feb 2009 01:10:24 +0000
(
01:10
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 28 Feb 2009 01:10:24 +0000
(
01:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65670
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/BasicBlock.h
patch
|
blob
|
history
diff --git
a/include/llvm/BasicBlock.h
b/include/llvm/BasicBlock.h
index 29caa0ab192e213c81fa2d65344f23e46704de4f..fdd3ea87d6f222681c7f61a86ba81d35238f2710 100644
(file)
--- a/
include/llvm/BasicBlock.h
+++ b/
include/llvm/BasicBlock.h
@@
-29,7
+29,7
@@
template<> struct ilist_traits<Instruction>
Instruction *createSentinel() const {
return const_cast<Instruction*>(static_cast<const Instruction*>(&Sentinel));
}
- static void destroySentinel(Instruction *I) { }
+ static void destroySentinel(Instruction *I) {
I = I;
}
static iplist<Instruction> &getList(BasicBlock *BB);
static ValueSymbolTable *getSymTab(BasicBlock *ItemParent);
static int getListOffset();