Lines Matching refs:memory_object
824 auto memory_object = Handle<WasmMemoryObject>::cast( in New() local
826 memory_object->set_array_buffer(*buffer); in New()
827 memory_object->set_maximum_pages(maximum); in New()
831 backing_store->AttachSharedWasmMemoryObject(isolate, memory_object); in New()
837 JSObject::SetProperty(isolate, buffer, symbol, memory_object).Check(); in New()
839 return memory_object; in New()
920 Handle<WasmMemoryObject> memory_object, in Grow() argument
923 Handle<JSArrayBuffer> old_buffer(memory_object->array_buffer(), isolate); in Grow()
940 if (memory_object->has_maximum_pages()) { in Grow()
941 DCHECK_GE(max_pages, memory_object->maximum_pages()); in Grow()
942 max_pages = static_cast<uint32_t>(memory_object->maximum_pages()); in Grow()
963 CHECK_NE(*old_buffer, memory_object->array_buffer()); in Grow()
972 CHECK_LE(new_byte_length, memory_object->array_buffer().byte_length()); in Grow()
985 memory_object->update_instances(isolate, new_buffer); in Grow()
990 JSObject::SetProperty(isolate, new_buffer, symbol, memory_object).Check(); in Grow()
1018 memory_object->update_instances(isolate, new_buffer); in Grow()
1022 JSObject::SetProperty(isolate, new_buffer, symbol, memory_object).Check(); in Grow()