()
| 85 | } |
| 86 | |
| 87 | finalize() { |
| 88 | this.firstEventTimestamp = this.timestampMin( |
| 89 | this.deserializationTimestamp, this.parseTimestamp, |
| 90 | this.preparseTimestamp, this.resolutionTimestamp, |
| 91 | this.executionTimestamp); |
| 92 | |
| 93 | this.firstParseEventTimestamp = this.timestampMin( |
| 94 | this.deserializationTimestamp, this.parseTimestamp, |
| 95 | this.preparseTimestamp, this.resolutionTimestamp); |
| 96 | |
| 97 | this.firstCompileEventTimestamp = this.rawTimestampMin( |
| 98 | this.deserializationTimestamp, this.compileTimestamp, |
| 99 | this.baselineTimestamp, this.lazyCompileTimestamp); |
| 100 | // Any excuted script needs to be compiled. |
| 101 | if (this.hasBeenExecuted() && |
| 102 | (this.firstCompileEventTimestamp <= 0 || |
| 103 | this.executionTimestamp < this.firstCompileTimestamp)) { |
| 104 | console.error('Compile < execution timestamp', this); |
| 105 | } |
| 106 | |
| 107 | if (this.ownBytes < 0) console.error(this, 'Own bytes must be positive'); |
| 108 | } |
| 109 | |
| 110 | hasBeenExecuted() { |
| 111 | return this.executionTimestamp > 0; |
nothing calls this directly
no test coverage detected