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

Function getBitWidth

src/parseTools.mjs:619–622  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

617}
618
619function getBitWidth(type) {
620 if (type == 'i53' || type == 'u53') return 53;
621 return getNativeTypeSize(type) * 8;
622}
623
624function getHeapForType(type) {
625 assert(type);

Callers 1

makeSetValueFunction · 0.85

Calls 1

getNativeTypeSizeFunction · 0.85

Tested by

no test coverage detected