* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 7061 | * bidirectionally links two entries of the LRU linked list |
| 7062 | */ |
| 7063 | function link(nextEntry, prevEntry) { |
| 7064 | if (nextEntry !== prevEntry) { |
| 7065 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 7066 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 7067 | } |
| 7068 | } |
| 7069 | } |
| 7070 | |
| 7071 |
no outgoing calls
no test coverage detected