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

Function isHeap

tools/acorn-optimizer.mjs:1154–1156  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1152 // as representing a heap. This can be used in JS library code in order
1153 // to get this pass to fix it up.
1154 function isHeap(name) {
1155 return isEmscriptenHEAP(name) || name === 'heap' || name === 'HEAP';
1156 }
1157
1158 function unsign(node) {
1159 // The pointer is often a >> shift, which we can just turn into >>>

Callers 1

unsignPointersFunction · 0.85

Calls 1

isEmscriptenHEAPFunction · 0.85

Tested by

no test coverage detected