()
| 16 | // Support for growable heap + pthreads, where the buffer may change, so JS views |
| 17 | // must be updated. |
| 18 | function 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 |
no test coverage detected