summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-02-28 01:10:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-02-28 01:10:24 +0000
commit2f235908eda485e9100876245da88a1d01d2c6e0 (patch)
tree089897ca2d9f00d7ef306177c0916c6cba8ec472 /llvm
parent0ab407d57dd5718a6d08145492573c580059343d (diff)
downloadbcm5719-llvm-2f235908eda485e9100876245da88a1d01d2c6e0.tar.gz
bcm5719-llvm-2f235908eda485e9100876245da88a1d01d2c6e0.zip
Avoid unused parameter warning.
llvm-svn: 65670
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/BasicBlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/BasicBlock.h b/llvm/include/llvm/BasicBlock.h
index 29caa0ab192..fdd3ea87d6f 100644
--- a/llvm/include/llvm/BasicBlock.h
+++ b/llvm/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();
OpenPOWER on IntegriCloud