(useBigIntAddresses = false)
| 70 | MAJOR_VERSION = 7; |
| 71 | MINOR_VERSION = 6; |
| 72 | constructor(useBigIntAddresses = false) { |
| 73 | super(false, false, useBigIntAddresses); |
| 74 | this.useBigIntAddresses = useBigIntAddresses; |
| 75 | this.kZero = useBigIntAddresses ? 0n : 0; |
| 76 | this.parseAddress = useBigIntAddresses ? BigInt : parseInt; |
| 77 | this._chunkConsumer = |
| 78 | new AsyncConsumer((chunk) => this._processChunk(chunk)); |
| 79 | this._profile = new Profile(useBigIntAddresses); |
| 80 | const propertyICParser = [ |
| 81 | this.parseAddress, parseInt, parseInt, parseInt, parseString, parseString, |
| 82 | parseString, parseString, parseString, parseString |
| 83 | ]; |
| 84 | this.setDispatchTable({ |
| 85 | __proto__: null, |
| 86 | 'v8-version': { |
| 87 | parsers: [ |
| 88 | parseInt, |
| 89 | parseInt, |
| 90 | ], |
| 91 | processor: this.processV8Version, |
| 92 | }, |
| 93 | 'shared-library': { |
| 94 | parsers: [ |
| 95 | parseString, this.parseAddress, this.parseAddress, this.parseAddress |
| 96 | ], |
| 97 | processor: this.processSharedLibrary.bind(this), |
| 98 | isAsync: true, |
| 99 | }, |
| 100 | 'code-creation': { |
| 101 | parsers: [ |
| 102 | parseString, parseInt, parseInt, this.parseAddress, this.parseAddress, |
| 103 | parseString, parseVarArgs |
| 104 | ], |
| 105 | processor: this.processCodeCreation |
| 106 | }, |
| 107 | 'code-deopt': { |
| 108 | parsers: [ |
| 109 | parseInt, parseInt, this.parseAddress, parseInt, parseInt, |
| 110 | parseString, parseString, parseString |
| 111 | ], |
| 112 | processor: this.processCodeDeopt |
| 113 | }, |
| 114 | 'code-move': { |
| 115 | parsers: [this.parseAddress, this.parseAddress], |
| 116 | processor: this.processCodeMove |
| 117 | }, |
| 118 | 'code-source-info': { |
| 119 | parsers: [ |
| 120 | this.parseAddress, parseInt, parseInt, parseInt, parseString, |
| 121 | parseString, parseString |
| 122 | ], |
| 123 | processor: this.processCodeSourceInfo |
| 124 | }, |
| 125 | 'code-disassemble': { |
| 126 | parsers: [this.parseAddress, parseString, parseString], |
| 127 | processor: this.processCodeDisassemble |
| 128 | }, |
| 129 | 'feedback-vector': { |
nothing calls this directly
no test coverage detected