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

Function wasmF32Const

deps/v8/test/mjsunit/wasm/wasm-module-builder.js:2467–2473  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

2465}
2466
2467function wasmF32Const(f) {
2468 // Write in little-endian order at offset 0.
2469 data_view.setFloat32(0, f, true);
2470 return [
2471 kExprF32Const, byte_view[0], byte_view[1], byte_view[2], byte_view[3]
2472 ];
2473}
2474
2475function wasmF64Const(f) {
2476 // Write in little-endian order at offset 0.

Callers 15

splatFloatFunction · 0.70
globals.jsFile · 0.70
GenerateValuesOfTypeFunction · 0.70
CheckValuesOfTypeFunction · 0.70
defaultForMethod · 0.70
instantiateWasmFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected