MCPcopy Create free account
hub / github.com/nodejs/node / wasmI64Const

Function wasmI64Const

deps/v8/test/mjsunit/wasm/wasm-module-builder.js:2463–2465  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

2461// Note: Since {val} is a JS number, the generated constant only has 53 bits of
2462// precision.
2463function wasmI64Const(val) {
2464 return [kExprI64Const, ...wasmSignedLeb64(val, 10)];
2465}
2466
2467function wasmF32Const(f) {
2468 // Write in little-endian order at offset 0.

Callers 15

defaultForMethod · 0.85
bit-shift-right.jsFile · 0.85
addR2SFunctionFunction · 0.85
addS2SFunctionFunction · 0.85
globals.jsFile · 0.85
GenerateValuesOfTypeFunction · 0.85
CheckValuesOfTypeFunction · 0.85
defaultForMethod · 0.85

Calls 1

wasmSignedLeb64Function · 0.85

Tested by 1

testFunction · 0.68