* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 6446 | * bidirectionally links two entries of the LRU linked list |
| 6447 | */ |
| 6448 | function link(nextEntry, prevEntry) { |
| 6449 | if (nextEntry != prevEntry) { |
| 6450 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 6451 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 6452 | } |
| 6453 | } |
| 6454 | } |
| 6455 | |
| 6456 | /** |
no outgoing calls
no test coverage detected