Skip to content

Commit 9fc31e9

Browse files
StefanStojanovictargos
authored andcommitted
deps: patch V8 to fix Windows build
1 parent 5393e01 commit 9fc31e9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Reset this number to 0 on major V8 upgrades.
4040
# Increment by one for each non-official patch applied to deps/v8.
41-
'v8_embedder_string': '-node.7',
41+
'v8_embedder_string': '-node.8',
4242

4343
##### V8 defaults for Node.js #####
4444

deps/v8/src/objects/backing-store.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ std::unique_ptr<BackingStore> BackingStore::TryAllocateAndPartiallyCommitMemory(
322322
// For accounting purposes, whether a GC was necessary.
323323
bool did_retry = false;
324324

325-
auto gc_retry = [&](const std::function<bool()>& fn) {
325+
auto gc_retry = [&](const auto& fn) {
326326
if (fn()) return true;
327327
// Collect garbage and retry.
328328
did_retry = true;

0 commit comments

Comments
 (0)