12017-03-15 Saam Barati <sbarati@apple.com>
2
3 WebAssembly: When we GC to try to get a fast memory, we should call collectAllGarbage(), not collectSync()
4 https://bugs.webkit.org/show_bug.cgi?id=169704
5
6 Reviewed by NOBODY (OOPS!).
7
8 We weren't always sweeping the memory needed to free
9 the WasmMemory we wanted to use. collectAllGarbage()
10 will do this if the JS objects wrapping WasmMemory
11 are dead.
12
13 * wasm/WasmMemory.cpp:
14 (JSC::Wasm::tryGetFastMemory):
15