(
eventType, cacheType, scriptId, startPosition, endPosition, timestamp)
| 1127 | } |
| 1128 | |
| 1129 | processCompilationCacheEvent( |
| 1130 | eventType, cacheType, scriptId, startPosition, endPosition, timestamp) { |
| 1131 | if (eventType !== 'hit') return; |
| 1132 | let compilationUnit = this.lookupScript(scriptId); |
| 1133 | if (startPosition > 0) { |
| 1134 | compilationUnit = |
| 1135 | compilationUnit.getFunktionAtStartPosition(startPosition); |
| 1136 | } |
| 1137 | compilationUnit.addCompilationCacheHit(toTimestamp(timestamp)); |
| 1138 | } |
| 1139 | |
| 1140 | } |
| 1141 |
nothing calls this directly
no test coverage detected