From 1f7e71fbbe71dd060caa283189da132cfb653114 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Mon, 28 Nov 2022 16:32:43 -0500 Subject: [PATCH 1/2] src: cleanup on disambiguating native modules Found while backporting https://github.com/nodejs/node/pull/45663 Fixup one rename missed Signed-off-by: Michael Dawson --- src/env.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/env.cc b/src/env.cc index 2f0720d4027010..535b5657849a22 100644 --- a/src/env.cc +++ b/src/env.cc @@ -1581,11 +1581,11 @@ void Environment::PrintInfoForSnapshotIfDebug() { if (enabled_debug_list()->enabled(DebugCategory::MKSNAPSHOT)) { fprintf(stderr, "At the exit of the Environment:\n"); principal_realm()->PrintInfoForSnapshot(); - fprintf(stderr, "\nNative modules without cache:\n"); + fprintf(stderr, "\nBuiltins without cache:\n"); for (const auto& s : builtins_without_cache) { fprintf(stderr, "%s\n", s.c_str()); } - fprintf(stderr, "\nNative modules with cache:\n"); + fprintf(stderr, "\nBuiltins modules with cache:\n"); for (const auto& s : builtins_with_cache) { fprintf(stderr, "%s\n", s.c_str()); } From 7f12d65e2be3d865f049cf47242e64f82e29b6c9 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Mon, 28 Nov 2022 16:48:36 -0500 Subject: [PATCH 2/2] Update src/env.cc --- src/env.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.cc b/src/env.cc index 535b5657849a22..5172d71ad6a673 100644 --- a/src/env.cc +++ b/src/env.cc @@ -1585,7 +1585,7 @@ void Environment::PrintInfoForSnapshotIfDebug() { for (const auto& s : builtins_without_cache) { fprintf(stderr, "%s\n", s.c_str()); } - fprintf(stderr, "\nBuiltins modules with cache:\n"); + fprintf(stderr, "\nBuiltins with cache:\n"); for (const auto& s : builtins_with_cache) { fprintf(stderr, "%s\n", s.c_str()); }