get things checking on ia32
This commit is contained in:
parent
c0e9c42bd2
commit
f1bc9307d8
9 changed files with 96 additions and 97 deletions
|
@ -42,7 +42,7 @@ hash(uintptr_t ptr) {
|
|||
ptr = ptr ^ (ptr >> 14);
|
||||
ptr = (ptr + (ptr << 2)) + (ptr << 4); // ptr * 21
|
||||
ptr = ptr ^ (ptr >> 28);
|
||||
ptr = ptr + (ptr << 31);
|
||||
ptr = ptr + (ptr << 31);
|
||||
# else
|
||||
# error "hash() not defined for this pointer size"
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue