(profileEntry, line, column)
| 510 | } |
| 511 | |
| 512 | formatProfileEntry(profileEntry, line, column) { |
| 513 | if (!profileEntry) return '<unknown>'; |
| 514 | if (profileEntry.type === 'Builtin') return profileEntry.name; |
| 515 | const name = profileEntry.sfi.getName(); |
| 516 | const array = this._formatPCRegexp.exec(name); |
| 517 | const formatted = |
| 518 | (array === null) ? name : profileEntry.getState() + array[1]; |
| 519 | if (line === undefined || column === undefined) return formatted; |
| 520 | return `${formatted}:${line}:${column}`; |
| 521 | } |
| 522 | |
| 523 | getProfileEntryScript(profileEntry) { |
| 524 | if (!profileEntry) return undefined; |
no test coverage detected