@@ -7741,14 +7741,15 @@ v8::SharedArrayBuffer::Contents v8::SharedArrayBuffer::Externalize() {
77417741v8::SharedArrayBuffer::Contents::Contents (
77427742 void * data, size_t byte_length, void * allocation_base,
77437743 size_t allocation_length, Allocator::AllocationMode allocation_mode,
7744- DeleterCallback deleter, void * deleter_data)
7744+ DeleterCallback deleter, void * deleter_data, bool is_growable )
77457745 : data_(data),
77467746 byte_length_ (byte_length),
77477747 allocation_base_(allocation_base),
77487748 allocation_length_(allocation_length),
77497749 allocation_mode_(allocation_mode),
77507750 deleter_(deleter),
7751- deleter_data_(deleter_data) {
7751+ deleter_data_(deleter_data),
7752+ is_growable_(is_growable) {
77527753 DCHECK_LE (allocation_base_, data_);
77537754 DCHECK_LE (byte_length_, allocation_length_);
77547755}
@@ -7766,7 +7767,8 @@ v8::SharedArrayBuffer::Contents v8::SharedArrayBuffer::GetContents() {
77667767 : reinterpret_cast <Contents::DeleterCallback>(ArrayBufferDeleter),
77677768 self->is_wasm_memory ()
77687769 ? static_cast <void *>(self->GetIsolate ()->wasm_engine ())
7769- : static_cast <void *>(self->GetIsolate ()->array_buffer_allocator ()));
7770+ : static_cast <void *>(self->GetIsolate ()->array_buffer_allocator ()),
7771+ false );
77707772 return contents;
77717773}
77727774
@@ -8935,13 +8937,8 @@ void v8::Isolate::LocaleConfigurationChangeNotification() {
89358937}
89368938
89378939// static
8938- std::unique_ptr<MicrotaskQueue> MicrotaskQueue::New (Isolate* isolate,
8939- MicrotasksPolicy policy) {
8940- auto microtask_queue =
8941- i::MicrotaskQueue::New (reinterpret_cast <i::Isolate*>(isolate));
8942- microtask_queue->set_microtasks_policy (policy);
8943- std::unique_ptr<MicrotaskQueue> ret (std::move (microtask_queue));
8944- return ret;
8940+ std::unique_ptr<MicrotaskQueue> MicrotaskQueue::New (Isolate* isolate) {
8941+ return i::MicrotaskQueue::New (reinterpret_cast <i::Isolate*>(isolate));
89458942}
89468943
89478944MicrotasksScope::MicrotasksScope (Isolate* isolate, MicrotasksScope::Type type)
0 commit comments