@@ -173,7 +173,7 @@ using v8::Undefined;
173
173
using v8::V8;
174
174
using v8::Value;
175
175
176
- using AsyncHooks = node:: Environment::AsyncHooks;
176
+ using AsyncHooks = Environment::AsyncHooks;
177
177
178
178
static bool print_eval = false ;
179
179
static bool force_repl = false ;
@@ -274,7 +274,7 @@ static double prog_start_time;
274
274
static Mutex node_isolate_mutex;
275
275
static v8::Isolate* node_isolate;
276
276
277
- node:: DebugOptions debug_options;
277
+ DebugOptions debug_options;
278
278
279
279
static struct {
280
280
#if NODE_USE_V8_PLATFORM
@@ -312,7 +312,7 @@ static struct {
312
312
313
313
#if HAVE_INSPECTOR
314
314
bool StartInspector (Environment *env, const char * script_path,
315
- const node:: DebugOptions& options) {
315
+ const DebugOptions& options) {
316
316
// Inspector agent can't fail to start, but if it was configured to listen
317
317
// right away on the websocket port and fails to bind/etc, this will return
318
318
// false.
@@ -344,7 +344,7 @@ static struct {
344
344
void DrainVMTasks (Isolate* isolate) {}
345
345
void CancelVMTasks (Isolate* isolate) {}
346
346
bool StartInspector (Environment *env, const char * script_path,
347
- const node:: DebugOptions& options) {
347
+ const DebugOptions& options) {
348
348
env->ThrowError (" Node compiled with NODE_USE_V8_PLATFORM=0" );
349
349
return true ;
350
350
}
@@ -1108,9 +1108,9 @@ Local<Value> WinapiErrnoException(Isolate* isolate,
1108
1108
1109
1109
void * ArrayBufferAllocator::Allocate (size_t size) {
1110
1110
if (zero_fill_field_ || zero_fill_all_buffers)
1111
- return node:: UncheckedCalloc (size);
1111
+ return UncheckedCalloc (size);
1112
1112
else
1113
- return node:: UncheckedMalloc (size);
1113
+ return UncheckedMalloc (size);
1114
1114
}
1115
1115
1116
1116
namespace {
@@ -4449,7 +4449,7 @@ void Init(int* argc,
4449
4449
prog_start_time = static_cast <double >(uv_now (uv_default_loop ()));
4450
4450
4451
4451
// Register built-in modules
4452
- node:: RegisterBuiltinModules ();
4452
+ RegisterBuiltinModules ();
4453
4453
4454
4454
// Make inherited handles noninheritable.
4455
4455
uv_disable_stdio_inheritance ();
@@ -4799,7 +4799,7 @@ inline int Start(uv_loop_t* event_loop,
4799
4799
int Start (int argc, char ** argv) {
4800
4800
atexit ([] () { uv_tty_reset_mode (); });
4801
4801
PlatformInit ();
4802
- node:: performance::performance_node_start = PERFORMANCE_NOW ();
4802
+ performance::performance_node_start = PERFORMANCE_NOW ();
4803
4803
4804
4804
CHECK_GT (argc, 0 );
4805
4805
@@ -4836,7 +4836,7 @@ int Start(int argc, char** argv) {
4836
4836
v8_platform.StartTracingAgent ();
4837
4837
}
4838
4838
V8::Initialize ();
4839
- node:: performance::performance_v8_start = PERFORMANCE_NOW ();
4839
+ performance::performance_v8_start = PERFORMANCE_NOW ();
4840
4840
v8_initialized = true ;
4841
4841
const int exit_code =
4842
4842
Start (uv_default_loop (), argc, argv, exec_argc, exec_argv);
0 commit comments