From 55a1231d819d58916e8d5b792c128e185598757b Mon Sep 17 00:00:00 2001 From: Bartosz Sosnowski Date: Mon, 12 Jun 2017 11:40:52 +0200 Subject: [PATCH] v8: fix debug builds on Windows Adds missing return which fixes debug builds on Windows Fixes: https://github.com/nodejs/node/issues/13392 Ref: https://codereview.chromium.org/2929993003/ PR-URL: https://github.com/nodejs/node/pull/13634 Reviewed-By: Refael Ackermann Reviewed-By: Anna Henningsen --- deps/v8/src/api.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deps/v8/src/api.cc b/deps/v8/src/api.cc index ed173c175fe6ce..0e77faff7ee141 100644 --- a/deps/v8/src/api.cc +++ b/deps/v8/src/api.cc @@ -437,7 +437,10 @@ void V8::SetSnapshotDataBlob(StartupData* snapshot_blob) { i::V8::SetSnapshotBlob(snapshot_blob); } -void* v8::ArrayBuffer::Allocator::Reserve(size_t length) { UNIMPLEMENTED(); } +void* v8::ArrayBuffer::Allocator::Reserve(size_t length) { + UNIMPLEMENTED(); + return nullptr; +} void v8::ArrayBuffer::Allocator::Free(void* data, size_t length, AllocationMode mode) {