deps: V8: cherry-pick 5f4413194480
Original commit message:
[promises] Change context promise hooks to Callable
The previously added perf-context Promise-hooks take a v8::Function as
arguments. However, the builtin code was only accepting JSFunctions
which causes cast errors.
Drive-by-fix: Directly pass nativeContext in more places.
Bug: chromium:1201465
Change-Id: Ic8bed11253a1f18a84e71eb9ea809b1ec1c3f428
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2850162
Reviewed-by:
Jakob Gruber <jgruber@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74223}
Refs: https://github.com/v8/v8/commit/5f44131944800f16c4dc6768acb67561e3746384
PR-URL: https://github.com/nodejs/node/pull/36394
Reviewed-By:
Bryan English <bryan@bryanenglish.com>
Reviewed-By:
Gus Caplan <me@gus.host>
Reviewed-By:
Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By:
Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
774874d2
Please register or sign in to comment