mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
fix typos; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234171 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -51,8 +51,8 @@ bool FoldingSetNodeIDRef::operator<(FoldingSetNodeIDRef RHS) const {
|
|||||||
///
|
///
|
||||||
void FoldingSetNodeID::AddPointer(const void *Ptr) {
|
void FoldingSetNodeID::AddPointer(const void *Ptr) {
|
||||||
// Note: this adds pointers to the hash using sizes and endianness that
|
// Note: this adds pointers to the hash using sizes and endianness that
|
||||||
// depend on the host. It doesn't matter however, because hashing on
|
// depend on the host. It doesn't matter, however, because hashing on
|
||||||
// pointer values in inherently unstable. Nothing should depend on the
|
// pointer values is inherently unstable. Nothing should depend on the
|
||||||
// ordering of nodes in the folding set.
|
// ordering of nodes in the folding set.
|
||||||
Bits.append(reinterpret_cast<unsigned *>(&Ptr),
|
Bits.append(reinterpret_cast<unsigned *>(&Ptr),
|
||||||
reinterpret_cast<unsigned *>(&Ptr+1));
|
reinterpret_cast<unsigned *>(&Ptr+1));
|
||||||
|
Reference in New Issue
Block a user