* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 6667 | * bidirectionally links two entries of the LRU linked list |
| 6668 | */ |
| 6669 | function link(nextEntry, prevEntry) { |
| 6670 | if (nextEntry !== prevEntry) { |
| 6671 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 6672 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 6673 | } |
| 6674 | } |
| 6675 | } |
| 6676 | |
| 6677 |
no outgoing calls
no test coverage detected