Unverified Commit 0918ea06 authored by Darshan Sen's avatar Darshan Sen Committed by Michaël Zasso
Browse files

src: add a constructor overload for CallbackScope



This overload accepts the current Environment* as an argument, unlike
the other constructor, which accepts an Isolate*. This is useful because
we can pass the current Environment* directly instead of recomputing it
from the Isolate* inside the constructor.

Signed-off-by: default avatarDarshan Sen <darshan.sen@postman.com>

PR-URL: https://github.com/nodejs/node/pull/39768


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarFranziska Hinkelmann <franziska.hinkelmann@gmail.com>
parent 158d4464
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment