Repository navigation
Commit ec0bb3e
committed
deps: V8: cherry-pick 95626c699ff2
Original commit message:
[objects] Use a generic lambda for gc_retry in BackingStore
gc_retry passes a std::function<bool()> as base::FunctionRef, which
derives the signature from decltype(&Functor::operator()), whose type
is unspecified by the standard, and it fails to compile with
MSVC STL.
Use a generic lambda so FunctionRef binds to the caller's lambda
directly.
Co-Authored-By: StefanStojanovic <stefan.stojanovic@janeasystems.com>
Refs: #61898
Change-Id: I9ce000ed3136942577b1a6da0b890bc48d0f00e5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8517726
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#110418}
Refs: v8/v8@95626c6
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>1 parent eb6f2ff commit ec0bb3e
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
0 commit comments