MCPcopy Index your code
hub / github.com/nodejs/node / wasmI32Const

Function wasmI32Const

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

Source from the content-addressed store, hash-verified

2455}
2456
2457function wasmI32Const(val) {
2458 return [kExprI32Const, ...wasmSignedLeb(val, 5)];
2459}
2460
2461// Note: Since {val} is a JS number, the generated constant only has 53 bits of
2462// precision.

Callers 15

bit-shift-right.jsFile · 0.70
jspi.jsFile · 0.70
return-calls-eh.jsFile · 0.70
testFunction · 0.70
call_indirect.jsFile · 0.70
TestFunction · 0.70

Calls 1

wasmSignedLebFunction · 0.70

Tested by 1

testFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…