1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/core/runtime
Matt Mastracci 88e6e9c1e6
refactor(core): some runtime methods should live on the module map (#19502)
A few easy migrations of module code from the runtime to the module map.

The module map already has a few places where it needs a handle scope,
so we're not coupling it any further with the v8 runtime.

`init_runtime_module_map` is replaced with an option to reduce API
surface of JsRuntime.

`module_resolve_callback` now lives in the `ModuleMap` and we use a
annex data to avoid having to go through the `Rc<RefCell<...>>` stored
in the `JsRuntime`'s isolate.
2023-06-14 16:45:59 +00:00
..
bindings.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
bindings.rs refactor(core): some runtime methods should live on the module map (#19502) 2023-06-14 16:45:59 +00:00
encode_decode_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
error_builder_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
icudtl.dat chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
jsrealm.rs chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
jsruntime.rs refactor(core): some runtime methods should live on the module map (#19502) 2023-06-14 16:45:59 +00:00
mod.rs refactor(core): some runtime methods should live on the module map (#19502) 2023-06-14 16:45:59 +00:00
ops.rs chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
serialize_deserialize_test.js chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
snapshot_util.rs chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00
tests.rs chore(core): Refactor runtime and split out tests (#19491) 2023-06-14 02:03:10 +00:00