You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert(bufferinstanceofSharedArrayBuffer,'requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag');
// These get assigned from the WebAssembly module exports
78
69
varwasmTable;
79
-
varbuffer=wasmMemory.buffer;
80
-
81
-
#if USE_PTHREADS
82
-
}
83
-
#if ASSERTIONS
84
-
assert(bufferinstanceofSharedArrayBuffer,'requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag');
85
-
#endif
86
-
#endif
70
+
varwasmMemory;
71
+
varbuffer;
87
72
88
-
#if ASSERTIONS
89
-
#if USE_PTHREADS
90
-
if(!ENVIRONMENT_IS_PTHREAD){
91
-
#endif
92
-
assert(buffer.byteLength==={{{INITIAL_MEMORY}}});
93
73
#if USE_PTHREADS
94
74
}
95
75
#endif
96
-
#endif // ASSERTIONS
97
76
98
-
#if ALLOW_MEMORY_GROWTH
99
-
// In ALLOW_MEMORY_GROWTH, we need to be able to re-initialize the
100
-
// typed array buffer and heap views to the buffer whenever the heap
0 commit comments