| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index a51a9b117e7a1969acb146e047175eaf1ac4740e..a79300b20698a1962f8d2a0bf99f2f149232be41 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -2605,8 +2605,10 @@ Genesis::Genesis(Isolate* isolate,
|
|
|
| MakeFunctionInstancePrototypeWritable();
|
|
|
| - if (!ConfigureGlobalObjects(global_template)) return;
|
| - isolate->counters()->contexts_created_from_scratch()->Increment();
|
| + if (!FLAG_disable_native_files) {
|
| + if (!ConfigureGlobalObjects(global_template)) return;
|
| + isolate->counters()->contexts_created_from_scratch()->Increment();
|
| + }
|
| }
|
|
|
| // Initialize experimental globals and install experimental natives.
|
|
|