diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-05-20 14:14:21 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-06-03 18:27:48 +0300 |
commit | a1a690e07c92d209cfecb2e7725ce649287edf26 (patch) | |
tree | 87dc42011acaab55a820ef378c0bd75cf1c20388 /src/node_worker.h | |
parent | bda7da34c6f8edabf45623acb21a410c76a33bff (diff) |
src: create Environment properties in Environment::CreateProperties()
Move creation of `env->as_callback_data()`, `env->primordials()`
and `env->process()` into `Environment::CreateProperties()` and
call it in the `Environment` constructor - this can be replaced with
deserialization when we snapshot the per-environment properties
after the instantiation of `Environment`.
PR-URL: https://github.com/nodejs/node/pull/27539
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_worker.h')
0 files changed, 0 insertions, 0 deletions