mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-17 23:44:43 +00:00
* If hashing a pointer, cast it to a 64 bit number so gcc doesn't warn
* Don't put extra stuff after #endif git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7add8bdc08
commit
2bb5c7f6bf
@ -20,7 +20,7 @@
|
||||
|
||||
typedef int64_t Generic;
|
||||
typedef uint64_t Index;
|
||||
typedef ptrdiff_t Pointer;
|
||||
typedef uint64_t Pointer;
|
||||
|
||||
/* Index IntegerHashFunc(const Generic value, const Index size) */
|
||||
#define IntegerHashFunc(value, size) \
|
||||
@ -262,7 +262,6 @@ HashPointerToSeqNum(char* ptr)
|
||||
void
|
||||
ReleasePointerSeqNum(char* ptr)
|
||||
{ /* if a sequence number was assigned to this ptr, release it */
|
||||
SequenceNumber seqnum;
|
||||
if (SequenceNumberTable != NULL)
|
||||
Delete(SequenceNumberTable, ptr);
|
||||
}
|
||||
|
@ -37,4 +37,4 @@ extern void ReleasePointersPopSet();
|
||||
|
||||
/*===---------------------------------------------------------------------===*/
|
||||
|
||||
#endif _TEST_LIBRARIES_LIBINSTR_TRACELIB_
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user