Skip to content

Commit 5bdd90a

Browse files
committed
fixup! fixup! bootstrap: support more builtins in the embedded code cache
1 parent 8332063 commit 5bdd90a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/internal/bootstrap/node.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// This file is expected not to perform any asynchronous operations itself
88
// when being executed - those should be done in either
9-
// `lib/internal/bootstrap/pre_execution.js` or in main scripts. The majority
9+
// `lib/internal/process/pre_execution.js` or in main scripts. The majority
1010
// of the code here focuses on setting up the global proxy and the process
1111
// object in a synchronous manner.
1212
// As special caution is given to the performance of the startup process,
@@ -28,7 +28,7 @@
2828
// Then, depending on how the Node.js instance is launched, one of the main
2929
// scripts in `lib/internal/main` will be selected by C++ to start the actual
3030
// execution. They may run additional setups exported by
31-
// `lib/internal/bootstrap/pre_execution.js` depending on the runtime states.
31+
// `lib/internal/process/pre_execution.js` depending on the runtime states.
3232

3333
'use strict';
3434

lib/internal/main/mksnapshot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function requireForUserSnapshot(id) {
114114
function main() {
115115
const {
116116
prepareMainThreadExecution
117-
} = require('internal/bootstrap/pre_execution');
117+
} = require('internal/process/pre_execution');
118118

119119
prepareMainThreadExecution(true, false);
120120

lib/internal/wasm_web_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function lazyUndici() {
1515

1616
// This is essentially an implementation of a v8::WasmStreamingCallback, except
1717
// that it is implemented in JavaScript because the fetch() implementation is
18-
// difficult to use from C++. See lib/internal/bootstrap/pre_execution.js and
18+
// difficult to use from C++. See lib/internal/process/pre_execution.js and
1919
// src/node_wasm_web_api.cc that interact with this function.
2020
function wasmStreamingCallback(streamState, source) {
2121
(async () => {

0 commit comments

Comments
 (0)