* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 7100 | * bidirectionally links two entries of the LRU linked list |
| 7101 | */ |
| 7102 | function link(nextEntry, prevEntry) { |
| 7103 | if (nextEntry !== prevEntry) { |
| 7104 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 7105 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 7106 | } |
| 7107 | } |
| 7108 | } |
| 7109 | |
| 7110 |
no outgoing calls
no test coverage detected