| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cbc2bed commit 3650fab
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -552,7 +552,7 @@ bool BuiltinLoader::CompileAllBuiltinsAndCopyCodeCache( | |||
| 552 | 552 | std::unordered_set(eager_builtins.begin(), eager_builtins.end()); | |
| 553 | 553 | ||
| 554 | 554 | for (const auto& id : ids) { | |
| 555 | - // Eagerly compile primordials/boostrap/main scripts during code cache | ||
| 555 | + // Eagerly compile primordials/bootstrap/main scripts during code cache | ||
| 556 | 556 | // generation. | |
| 557 | 557 | if (id.starts_with(primordial_prefix) || id.starts_with(bootstrap_prefix) || | |
| 558 | 558 | id.starts_with(main_prefix)) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -207,7 +207,7 @@ class NODE_EXTERN_PRIVATE BuiltinLoader { | |||
| 207 | 207 | ||
| 208 | 208 | const UnionBytes config_; | |
| 209 | 209 | ||
| 210 | - // If any bulitins should be eagerly compiled i.e. with inner functions | ||
| 210 | + // If any builtins should be eagerly compiled i.e. with inner functions | ||
| 211 | 211 | // compiled too, either use should_eager_compile_ to compile all builtins | |
| 212 | 212 | // eagerly, or use to_eager_compile_ to compile specific builtins eagerly. | |
| 213 | 213 | // Currently we set should_eager_compile_ to true when compiling primordials, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -597,9 +597,9 @@ void NodePlatform::DrainTasks(Isolate* isolate) { | |||
| 597 | 597 | // However, not blocking on the worker tasks at all can lead to loss of some | |
| 598 | 598 | // critical user-blocking worker tasks e.g. wasm async compilation tasks, | |
| 599 | 599 | // which should block the main thread until they are completed, as the | |
| 600 | - // documentation suggets. As a compromise, we currently only block on | ||
| 600 | + // documentation suggests. As a compromise, we currently only block on | ||
| 601 | 601 | // user-blocking tasks to reduce the chance of deadlocks while making sure | |
| 602 | - // that criticl user-blocking tasks are not lost. | ||
| 602 | + // that critical user-blocking tasks are not lost. | ||
| 603 | 603 | worker_thread_task_runner_->BlockingDrain(); | |
| 604 | 604 | } while (per_isolate->FlushForegroundTasksInternal()); | |
| 605 | 605 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1262,7 +1262,7 @@ void Stream::NotifyStreamOpened(stream_id id) { | |||
| 1262 | 1262 | headers->flags); | |
| 1263 | 1263 | } | |
| 1264 | 1264 | } | |
| 1265 | - // If the stream is not a local undirectional stream and is_readable is | ||
| 1265 | + // If the stream is not a local unidirectional stream and is_readable is | ||
| 1266 | 1266 | // false, then we should shutdown the streams readable side now. | |
| 1267 | 1267 | if (!is_local_unidirectional() && !is_readable()) { | |
| 1268 | 1268 | NotifyReadableEnded(pending_close_read_code_); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments