* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 5667 | * bidirectionally links two entries of the LRU linked list |
| 5668 | */ |
| 5669 | function link(nextEntry, prevEntry) { |
| 5670 | if (nextEntry != prevEntry) { |
| 5671 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 5672 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 5673 | } |
| 5674 | } |
| 5675 | } |
| 5676 | |
| 5677 |
no outgoing calls
no test coverage detected