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

Function growMemViews

src/runtime_common.js:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16// Support for growable heap + pthreads, where the buffer may change, so JS views
17// must be updated.
18function growMemViews() {
19 // `updateMemoryViews` updates all the views simultaneously, so it's enough to check any of them.
20 if (wasmMemory.buffer != HEAP8.buffer) {
21 updateMemoryViews();
22 }
23}
24#endif
25
26#if USE_ASAN

Callers 4

fFunction · 0.85
libraryFuncFunction · 0.85

Calls 1

updateMemoryViewsFunction · 0.70

Tested by

no test coverage detected