Skip to content

Commit 2743451

Browse files
StefanStojanovictargos
authored andcommitted
v8-146-fix
1 parent 9fcd290 commit 2743451

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

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

313-
auto gc_retry = [&](const std::function<bool()>& fn) {
313+
auto gc_retry = [&](const auto& fn) {
314314
if (fn()) return true;
315315
// Collect garbage and retry.
316316
did_retry = true;

tools/v8_gypfiles/v8.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@
299299
'type': 'static_library',
300300
'toolsets': ['host', 'target'],
301301
'dependencies': [
302+
'torque_generated_initializers',
302303
'v8_base_without_compiler',
303304
'v8_shared_internal_headers',
304305
'v8_pch',

0 commit comments

Comments
 (0)