diff --git a/lib/internal/node.js b/lib/internal/bootstrap_node.js similarity index 100% rename from lib/internal/node.js rename to lib/internal/bootstrap_node.js diff --git a/node.gyp b/node.gyp index b46c9f8bf35cee..0eeebfcad430a6 100644 --- a/node.gyp +++ b/node.gyp @@ -16,7 +16,7 @@ 'node_target_type%': 'executable', 'node_core_target_name%': 'node', 'library_files': [ - 'lib/internal/node.js', + 'lib/internal/bootstrap_node.js', 'lib/_debug_agent.js', 'lib/_debugger.js', 'lib/assert.js', diff --git a/src/node_javascript.cc b/src/node_javascript.cc index 622b8443ad8e74..6f445f76df2407 100644 --- a/src/node_javascript.cc +++ b/src/node_javascript.cc @@ -14,15 +14,17 @@ using v8::String; Local MainSource(Environment* env) { return String::NewFromUtf8( - env->isolate(), reinterpret_cast(internal_node_native), - NewStringType::kNormal, sizeof(internal_node_native)).ToLocalChecked(); + env->isolate(), + reinterpret_cast(internal_bootstrap_node_native), + NewStringType::kNormal, + sizeof(internal_bootstrap_node_native)).ToLocalChecked(); } void DefineJavaScript(Environment* env, Local target) { HandleScope scope(env->isolate()); for (auto native : natives) { - if (native.source != internal_node_native) { + if (native.source != internal_bootstrap_node_native) { Local name = String::NewFromUtf8(env->isolate(), native.name); Local source = String::NewFromUtf8(