@@ -172,7 +172,7 @@ using v8::Undefined;
172
172
using v8::V8;
173
173
using v8::Value;
174
174
175
- using AsyncHooks = node:: Environment::AsyncHooks;
175
+ using AsyncHooks = Environment::AsyncHooks;
176
176
177
177
static bool print_eval = false ;
178
178
static bool force_repl = false ;
@@ -273,7 +273,7 @@ static double prog_start_time;
273
273
static Mutex node_isolate_mutex;
274
274
static v8::Isolate* node_isolate;
275
275
276
- node:: DebugOptions debug_options;
276
+ DebugOptions debug_options;
277
277
278
278
static struct {
279
279
#if NODE_USE_V8_PLATFORM
@@ -311,7 +311,7 @@ static struct {
311
311
312
312
#if HAVE_INSPECTOR
313
313
bool StartInspector (Environment *env, const char * script_path,
314
- const node:: DebugOptions& options) {
314
+ const DebugOptions& options) {
315
315
// Inspector agent can't fail to start, but if it was configured to listen
316
316
// right away on the websocket port and fails to bind/etc, this will return
317
317
// false.
@@ -343,7 +343,7 @@ static struct {
343
343
void DrainVMTasks (Isolate* isolate) {}
344
344
void CancelVMTasks (Isolate* isolate) {}
345
345
bool StartInspector (Environment *env, const char * script_path,
346
- const node:: DebugOptions& options) {
346
+ const DebugOptions& options) {
347
347
env->ThrowError (" Node compiled with NODE_USE_V8_PLATFORM=0" );
348
348
return true ;
349
349
}
@@ -780,9 +780,9 @@ Local<Value> WinapiErrnoException(Isolate* isolate,
780
780
781
781
void * ArrayBufferAllocator::Allocate (size_t size) {
782
782
if (zero_fill_field_ || zero_fill_all_buffers)
783
- return node:: UncheckedCalloc (size);
783
+ return UncheckedCalloc (size);
784
784
else
785
- return node:: UncheckedMalloc (size);
785
+ return UncheckedMalloc (size);
786
786
}
787
787
788
788
namespace {
@@ -4102,7 +4102,7 @@ void Init(int* argc,
4102
4102
prog_start_time = static_cast <double >(uv_now (uv_default_loop ()));
4103
4103
4104
4104
// Register built-in modules
4105
- node:: RegisterBuiltinModules ();
4105
+ RegisterBuiltinModules ();
4106
4106
4107
4107
// Make inherited handles noninheritable.
4108
4108
uv_disable_stdio_inheritance ();
@@ -4454,7 +4454,7 @@ inline int Start(uv_loop_t* event_loop,
4454
4454
int Start (int argc, char ** argv) {
4455
4455
atexit ([] () { uv_tty_reset_mode (); });
4456
4456
PlatformInit ();
4457
- node:: performance::performance_node_start = PERFORMANCE_NOW ();
4457
+ performance::performance_node_start = PERFORMANCE_NOW ();
4458
4458
4459
4459
CHECK_GT (argc, 0 );
4460
4460
@@ -4491,7 +4491,7 @@ int Start(int argc, char** argv) {
4491
4491
v8_platform.StartTracingAgent ();
4492
4492
}
4493
4493
V8::Initialize ();
4494
- node:: performance::performance_v8_start = PERFORMANCE_NOW ();
4494
+ performance::performance_v8_start = PERFORMANCE_NOW ();
4495
4495
v8_initialized = true ;
4496
4496
const int exit_code =
4497
4497
Start (uv_default_loop (), argc, argv, exec_argc, exec_argv);
0 commit comments