(
type, pc, time, line, column, old_state, new_state, mapId, key, modifier,
slow_reason)
| 492 | } |
| 493 | |
| 494 | processPropertyIC( |
| 495 | type, pc, time, line, column, old_state, new_state, mapId, key, modifier, |
| 496 | slow_reason) { |
| 497 | this._lastTimestamp = time; |
| 498 | const codeEntry = this._profile.findEntry(pc); |
| 499 | const fnName = this.formatProfileEntry(codeEntry); |
| 500 | const script = this.getProfileEntryScript(codeEntry); |
| 501 | const map = this.getOrCreateMapEntry(mapId, time); |
| 502 | // TODO: Use SourcePosition here directly |
| 503 | let entry = new IcLogEntry( |
| 504 | type, fnName, time, line, column, key, old_state, new_state, map, |
| 505 | slow_reason, modifier, codeEntry); |
| 506 | if (script) { |
| 507 | entry.sourcePosition = script.addSourcePosition(line, column, entry); |
| 508 | } |
| 509 | this._icTimeline.push(entry); |
| 510 | } |
| 511 | |
| 512 | formatProfileEntry(profileEntry, line, column) { |
| 513 | if (!profileEntry) return '<unknown>'; |
nothing calls this directly
no test coverage detected