(
type, kind, timestamp, start, size, nameAndPosition, maybe_func)
| 353 | } |
| 354 | |
| 355 | processCodeCreation( |
| 356 | type, kind, timestamp, start, size, nameAndPosition, maybe_func) { |
| 357 | this._lastTimestamp = timestamp; |
| 358 | let profilerEntry; |
| 359 | let stateName = ''; |
| 360 | if (type != 'RegExp' && maybe_func.length) { |
| 361 | const sfiAddr = this.parseAddress(maybe_func[0]); |
| 362 | stateName = maybe_func[1] ?? ''; |
| 363 | const state = Profile.parseState(maybe_func[1]); |
| 364 | profilerEntry = this._profile.addFuncCode( |
| 365 | type, nameAndPosition, timestamp, start, size, sfiAddr, state); |
| 366 | } else { |
| 367 | profilerEntry = |
| 368 | this._profile.addCode(type, nameAndPosition, timestamp, start, size); |
| 369 | } |
| 370 | const name = nameAndPosition.slice(0, nameAndPosition.indexOf(' ')); |
| 371 | this._lastCodeLogEntry = new CodeLogEntry( |
| 372 | type + stateName, timestamp, |
| 373 | Profile.getKindFromState(Profile.parseState(stateName)), kind, name, |
| 374 | profilerEntry); |
| 375 | this._codeTimeline.push(this._lastCodeLogEntry); |
| 376 | } |
| 377 | |
| 378 | processCodeDeopt( |
| 379 | timestamp, codeSize, instructionStart, inliningId, scriptOffset, |
nothing calls this directly
no test coverage detected