diff --git a/common.gypi b/common.gypi index fb2f5fa19ff..154bbf2a0df 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.15', + 'v8_embedder_string': '-node.16', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/builtins/builtins-typed-array-gen.cc b/deps/v8/src/builtins/builtins-typed-array-gen.cc index 1c0fca4db2c..786e49843e3 100644 --- a/deps/v8/src/builtins/builtins-typed-array-gen.cc +++ b/deps/v8/src/builtins/builtins-typed-array-gen.cc @@ -68,6 +68,8 @@ TNode TypedArrayBuiltinsAssembler::AllocateEmptyOnHeapBuffer( UndefinedConstant()); StoreBoundedSizeToObject(buffer, JSArrayBuffer::kRawByteLengthOffset, UintPtrConstant(0)); + StoreBoundedSizeToObject(buffer, JSArrayBuffer::kRawMaxByteLengthOffset, + UintPtrConstant(0)); StoreSandboxedPointerToObject(buffer, JSArrayBuffer::kBackingStoreOffset, EmptyBackingStoreBufferConstant()); #ifdef V8_COMPRESS_POINTERS