* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 7042 | * bidirectionally links two entries of the LRU linked list |
| 7043 | */ |
| 7044 | function link(nextEntry, prevEntry) { |
| 7045 | if (nextEntry !== prevEntry) { |
| 7046 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 7047 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 7048 | } |
| 7049 | } |
| 7050 | } |
| 7051 | |
| 7052 |
no outgoing calls
no test coverage detected