We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b466b4 commit d1cf63eCopy full SHA for d1cf63e
system/lib/standalone/standalone.c
@@ -157,10 +157,7 @@ int emscripten_resize_heap(size_t size) {
157
assert(old_size < size);
158
ssize_t diff = (size - old_size + WASM_PAGE_SIZE - 1) / WASM_PAGE_SIZE;
159
size_t result = __builtin_wasm_memory_grow(0, diff);
160
- // Its seems v8 has a bug in memory.grow that causes it to return
161
- // (uint32_t)-1 even with memory64:
162
- // https://bugs.chromium.org/p/v8/issues/detail?id=13948
163
- if (result != (uint32_t)-1 && result != (size_t)-1) {
+ if (result != (size_t)-1) {
164
// Success, update JS (see https://github.com/WebAssembly/WASI/issues/82)
165
emscripten_notify_memory_growth(0);
166
return 1;
0 commit comments