mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-14 13:07:31 +00:00
Fix a typo. Thanks baldrick!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65767 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ebc6765970
commit
1a31d09a16
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user