diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2020-04-21 23:10:10 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2020-07-18 06:23:13 +0300 |
commit | 7ecb285842361de721a9d7c7d2a0535170b132dd (patch) | |
tree | 6b9b4c90ec7cfd3c8b9e7cbe41461d1dc1258a74 /src/node_config.cc | |
parent | 1faf6f459f220bb67866f12b30626ef7856876ee (diff) |
src: make code cache test work with snapshots
Keep track of snapshotted modules in JS land, and move
bootstrap switches into StartExecution() so that
they are not included into part of the environment-independent
bootstrap process.
PR-URL: https://github.com/nodejs/node/pull/32984
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'src/node_config.cc')
-rw-r--r-- | src/node_config.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_config.cc b/src/node_config.cc index 6ee3164a134..2d8ad25bbe9 100644 --- a/src/node_config.cc +++ b/src/node_config.cc @@ -84,9 +84,6 @@ static void Initialize(Local<Object> target, #if defined HAVE_DTRACE || defined HAVE_ETW READONLY_TRUE_PROPERTY(target, "hasDtrace"); #endif - - READONLY_PROPERTY(target, "hasCachedBuiltins", - v8::Boolean::New(isolate, native_module::has_code_cache)); } // InitConfig } // namespace node |