@@ -165,7 +165,7 @@ using v8::Undefined;
165
165
using v8::V8;
166
166
using v8::Value;
167
167
168
- using AsyncHooks = node:: Environment::AsyncHooks;
168
+ using AsyncHooks = Environment::AsyncHooks;
169
169
170
170
static bool print_eval = false ;
171
171
static bool force_repl = false ;
@@ -266,7 +266,7 @@ double prog_start_time;
266
266
static Mutex node_isolate_mutex;
267
267
static v8::Isolate* node_isolate;
268
268
269
- node:: DebugOptions debug_options;
269
+ DebugOptions debug_options;
270
270
271
271
static struct {
272
272
#if NODE_USE_V8_PLATFORM
@@ -304,7 +304,7 @@ static struct {
304
304
305
305
#if HAVE_INSPECTOR
306
306
bool StartInspector (Environment *env, const char * script_path,
307
- const node:: DebugOptions& options) {
307
+ const DebugOptions& options) {
308
308
// Inspector agent can't fail to start, but if it was configured to listen
309
309
// right away on the websocket port and fails to bind/etc, this will return
310
310
// false.
@@ -337,7 +337,7 @@ static struct {
337
337
void DrainVMTasks (Isolate* isolate) {}
338
338
void CancelVMTasks (Isolate* isolate) {}
339
339
bool StartInspector (Environment *env, const char * script_path,
340
- const node:: DebugOptions& options) {
340
+ const DebugOptions& options) {
341
341
env->ThrowError (" Node compiled with NODE_USE_V8_PLATFORM=0" );
342
342
return true ;
343
343
}
@@ -1101,9 +1101,9 @@ Local<Value> WinapiErrnoException(Isolate* isolate,
1101
1101
1102
1102
void * ArrayBufferAllocator::Allocate (size_t size) {
1103
1103
if (zero_fill_field_ || zero_fill_all_buffers)
1104
- return node:: UncheckedCalloc (size);
1104
+ return UncheckedCalloc (size);
1105
1105
else
1106
- return node:: UncheckedMalloc (size);
1106
+ return UncheckedMalloc (size);
1107
1107
}
1108
1108
1109
1109
namespace {
@@ -3841,7 +3841,7 @@ void Init(int* argc,
3841
3841
prog_start_time = static_cast <double >(uv_now (uv_default_loop ()));
3842
3842
3843
3843
// Register built-in modules
3844
- node:: RegisterBuiltinModules ();
3844
+ RegisterBuiltinModules ();
3845
3845
3846
3846
// Make inherited handles noninheritable.
3847
3847
uv_disable_stdio_inheritance ();
@@ -4181,7 +4181,7 @@ inline int Start(uv_loop_t* event_loop,
4181
4181
int Start (int argc, char ** argv) {
4182
4182
atexit ([] () { uv_tty_reset_mode (); });
4183
4183
PlatformInit ();
4184
- node:: performance::performance_node_start = PERFORMANCE_NOW ();
4184
+ performance::performance_node_start = PERFORMANCE_NOW ();
4185
4185
4186
4186
CHECK_GT (argc, 0 );
4187
4187
@@ -4218,7 +4218,7 @@ int Start(int argc, char** argv) {
4218
4218
v8_platform.StartTracingAgent ();
4219
4219
}
4220
4220
V8::Initialize ();
4221
- node:: performance::performance_v8_start = PERFORMANCE_NOW ();
4221
+ performance::performance_v8_start = PERFORMANCE_NOW ();
4222
4222
v8_initialized = true ;
4223
4223
const int exit_code =
4224
4224
Start (uv_default_loop (), argc, argv, exec_argc, exec_argv);
0 commit comments