src: remove unused env->vm_parsing_context_symbol · nodejs/node@9d80199 · GitHub
Skip to content

Commit 9d80199

Browse files
maclover7targos
authored andcommitted
src: remove unused env->vm_parsing_context_symbol
Stopped being used via 77b52fd, was originally added in d932e80. For the one remaining usecase inside of `lib/vm.js`, define a Symbol at the top of the file. PR-URL: #22034 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent e1dcb79 commit 9d80199

3 files changed

Lines changed: 1 addition & 13 deletions

File tree

lib/vm.js

Lines changed: 1 addition & 2 deletions

src/env.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ struct PackageConfig {
346346
V(tls_wrap_constructor_function, v8::Function) \
347347
V(tty_constructor_template, v8::FunctionTemplate) \
348348
V(udp_constructor_function, v8::Function) \
349-
V(vm_parsing_context_symbol, v8::Symbol) \
350349
V(url_constructor_function, v8::Function) \
351350
V(write_wrap_template, v8::ObjectTemplate)
352351

src/node_contextify.cc

Lines changed: 0 additions & 10 deletions

0 commit comments

Comments
 (0)