Lines Matching defs:memory

340   // Load data segments into the memory.
347 // Find the imported memory if there is one.
350 // Allocate the memory.
371 // Process a single imported memory.
394 // Process the imports, including functions, tables, globals, and memory, in
478 // Set up the memory buffer and memory objects.
502 thrower_->RangeError("Out of memory: asm.js memory");
509 // The maximum number of pages isn't strictly necessary for memory
519 // Actual wasm module must have either imported or created memory.
537 // Attach the memory to the instance.
544 // Add the instance object to the list of instances for this memory.
547 // Double-check the {memory} array buffer matches the instance.
548 Handle<JSArrayBuffer> memory = memory_buffer_.ToHandleChecked();
549 CHECK_EQ(instance->memory_size(), memory->byte_length());
550 CHECK_EQ(instance->memory_start(), memory->backing_store());
564 thrower_->RangeError("Out of memory: wasm globals");
759 // Initialize the memory by loading data segments.
998 // Load data segments into the memory.
1338 ReportLinkError("memory import must be a WebAssembly.Memory object",
1344 // The imported memory should have been already set up early.
1353 thrower_->LinkError("memory import %d is smaller than initial %u, got %u",
1362 "memory import %d has no maximum limit, expected at most %u",
1369 "memory import %d has a larger maximum size %u than the "
1377 "mismatch in shared state of memory, declared = %d, imported = %d",
1631 // Process the imports, including functions, tables, globals, and memory, in
1735 // Allocate memory for a module instance as a new JSArrayBuffer.
1747 thrower_->RangeError("Out of memory: wasm memory");
1831 // Export the memory as a WebAssembly.Memory object. A WasmMemoryObject
1832 // should already be available if the module has memory, since we always