We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fdd689 commit fedf9c4Copy full SHA for fedf9c4
src/postamble.js
@@ -3,7 +3,7 @@
3
4
#if MEM_INIT_METHOD == 2
5
if (memoryInitializer) (function(s) {
6
- for (var i = 0; i < s.length; ++i) HEAPU8[i] = s.charCodeAt(i);
+ for (var i = 0; i < s.length; ++i) HEAPU8[STATIC_BASE + i] = s.charCodeAt(i);
7
})(memoryInitializer);
8
#else
9
#if MEM_INIT_METHOD == 1
0 commit comments