Fix a typo. Thanks baldrick!

llvm-svn: 65767
This commit is contained in:
Gabor Greif 2009-03-01 09:43:41 +00:00
parent 0a71fa9dc3
commit 19b2d443b5
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ template<> struct ilist_traits<Instruction>
// ilist_node<NodeTy>, there is a legal viable downcast from it
// to NodeTy. We use this trick to superpose i(p)list with a "ghostly"
// NodeTy, which becomes the sentinel. Dereferencing the sentinel is
// forbidden (save the ilist_node<NodeTy>) so noone will ever notice
// forbidden (save the ilist_node<NodeTy>) so no one will ever notice
// the superposition.
return const_cast<Instruction*>(static_cast<const Instruction*>(&Sentinel));
}