From 43f0765de69db73c4f6355776c9bf41621742333 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) {