* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 5608 | * bidirectionally links two entries of the LRU linked list |
| 5609 | */ |
| 5610 | function link(nextEntry, prevEntry) { |
| 5611 | if (nextEntry != prevEntry) { |
| 5612 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 5613 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 5614 | } |
| 5615 | } |
| 5616 | } |
| 5617 | |
| 5618 |
no outgoing calls
no test coverage detected