src: remove unnecessary call to SetHiddenPrototype · nodejs/node@aef0834 · GitHub
Skip to content

Commit aef0834

Browse files
verwaestgibfahn
authored andcommitted
src: remove unnecessary call to SetHiddenPrototype
Currently the template for the global object is explicitly marked as hidden. This is unnecessary since the global object is automatically marked as hidden by V8. Getting rid of this call gets rid of the last use of SetHiddenPrototype. PR-URL: #16554 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
1 parent 071ecd6 commit aef0834

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/node_contextify.cc

Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)