summaryrefslogtreecommitdiff
path: root/src/node_contextify.h
diff options
context:
space:
mode:
authorUjjwal Sharma <usharma1998@gmail.com>2018-06-28 12:15:15 +0530
committerUjjwal Sharma <usharma1998@gmail.com>2019-02-19 20:56:24 +0530
commitd345b0dc128d99afc8476f58ed5546b43d52d30a (patch)
tree07c3d24773f99cec266327da2a2e9f6a64bfa0c6 /src/node_contextify.h
parent8375c706ad51a399451e4f43b075f3795c440dad (diff)
downloadnode-new-d345b0dc128d99afc8476f58ed5546b43d52d30a.tar.gz
module: use compileFunction over Module.wrap
Use vm.compileFunction (which is a binding for v8::CompileFunctionInContext) instead of Module.wrap internally in Module._compile for the cjs loader. Fixes: https://github.com/nodejs/node/issues/17396 PR-URL: https://github.com/nodejs/node/pull/21573 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_contextify.h')
0 files changed, 0 insertions, 0 deletions