Lines Matching defs:memory
321 Handle<JSArrayBuffer> memory) {
362 if (memory.is_null()) {
366 // AsmJs memory must be an ArrayBuffer.
367 if (memory->is_shared()) {
372 // Mark the buffer as being used as an asm.js memory. This implies two
373 // things: 1) if the buffer is from a Wasm memory, that memory can no longer
376 memory->set_is_asmjs_memory(true);
377 memory->set_is_detachable(false);
378 size_t size = memory->byte_length();
385 memory = Handle<JSArrayBuffer>::null();
390 wasm_engine->SyncInstantiate(isolate, &thrower, module, foreign, memory);