* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 5073 | * bidirectionally links two entries of the LRU linked list |
| 5074 | */ |
| 5075 | function link(nextEntry, prevEntry) { |
| 5076 | if (nextEntry != prevEntry) { |
| 5077 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 5078 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 5079 | } |
| 5080 | } |
| 5081 | } |
| 5082 | |
| 5083 |
no outgoing calls
no test coverage detected