Remove use of 'register' in C source
No noticable performance change using gcc x86-64 in Java and Python test-suites.
This commit is contained in:
parent
e6b3a88f8a
commit
e7d626d1b4
2 changed files with 22 additions and 22 deletions
|
|
@ -81,8 +81,8 @@ static void InitPools() {
|
|||
* ---------------------------------------------------------------------- */
|
||||
|
||||
int DohCheck(const DOH *ptr) {
|
||||
register Pool *p = Pools;
|
||||
register char *cptr = (char *) ptr;
|
||||
Pool *p = Pools;
|
||||
char *cptr = (char *) ptr;
|
||||
while (p) {
|
||||
if ((cptr >= p->pbeg) && (cptr < p->pend)) {
|
||||
#ifdef DOH_DEBUG_MEMORY_POOLS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue