get things checking on ia32
This commit is contained in:
committed by
Brian Anderson
parent
c0e9c42bd2
commit
f1bc9307d8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user