MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / from64

Function from64

src/parseTools.mjs:1027–1030  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1025// Convert a pointer value under wasm64 from BigInt (used at local level API
1026// level) to Number (used in JS library code). No-op under wasm32.
1027function from64(x) {
1028 if (!MEMORY64) return '';
1029 return `${x} = Number(${x});`;
1030}
1031
1032// Like from64 above but generate an expression instead of an assignment
1033// statement.

Callers 1

postInstantiationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected