(addr)
| 246 | } |
| 247 | |
| 248 | fakeobj(addr) { |
| 249 | const values = lohi_from_one(addr); |
| 250 | const worker = this._worker; |
| 251 | const main = this._main; |
| 252 | |
| 253 | main[off_vector] = this._fake_low; |
| 254 | main[off_vector2] = this._fake_high; |
| 255 | worker.setUint32(0, values[0], true); |
| 256 | worker.setUint32(4, values[1], true); |
| 257 | return this._obj[0]; |
| 258 | } |
| 259 | |
| 260 | addrof(object) { |
| 261 | // typeof considers null as a object. blacklist it as it isn't a |
no test coverage detected