* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 6382 | * bidirectionally links two entries of the LRU linked list |
| 6383 | */ |
| 6384 | function link(nextEntry, prevEntry) { |
| 6385 | if (nextEntry != prevEntry) { |
| 6386 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 6387 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 6388 | } |
| 6389 | } |
| 6390 | } |
| 6391 | |
| 6392 |
no outgoing calls
no test coverage detected