| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
| 6 | 6 |
| 7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
| 8 #include "src/api-natives.h" | 8 #include "src/api-natives.h" |
| 9 #include "src/base/utils/random-number-generator.h" | 9 #include "src/base/utils/random-number-generator.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 2448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2459 if (!CompileExperimentalBuiltin(isolate(), i)) return false; \ | 2459 if (!CompileExperimentalBuiltin(isolate(), i)) return false; \ |
| 2460 } \ | 2460 } \ |
| 2461 } \ | 2461 } \ |
| 2462 } | 2462 } |
| 2463 HARMONY_INPROGRESS(INSTALL_EXPERIMENTAL_NATIVES); | 2463 HARMONY_INPROGRESS(INSTALL_EXPERIMENTAL_NATIVES); |
| 2464 HARMONY_STAGED(INSTALL_EXPERIMENTAL_NATIVES); | 2464 HARMONY_STAGED(INSTALL_EXPERIMENTAL_NATIVES); |
| 2465 HARMONY_SHIPPING(INSTALL_EXPERIMENTAL_NATIVES); | 2465 HARMONY_SHIPPING(INSTALL_EXPERIMENTAL_NATIVES); |
| 2466 #undef INSTALL_EXPERIMENTAL_NATIVES | 2466 #undef INSTALL_EXPERIMENTAL_NATIVES |
| 2467 } | 2467 } |
| 2468 | 2468 |
| 2469 CallUtilsFunction(isolate(), "PostExperimentals"); | 2469 if (!CallUtilsFunction(isolate(), "PostExperimentals")) return false; |
| 2470 | 2470 |
| 2471 InstallExperimentalNativeFunctions(); | 2471 InstallExperimentalNativeFunctions(); |
| 2472 InstallExperimentalBuiltinFunctionIds(); | 2472 InstallExperimentalBuiltinFunctionIds(); |
| 2473 return true; | 2473 return true; |
| 2474 } | 2474 } |
| 2475 | 2475 |
| 2476 | 2476 |
| 2477 bool Genesis::InstallExtraNatives() { | 2477 bool Genesis::InstallExtraNatives() { |
| 2478 for (int i = ExtraNatives::GetDebuggerCount(); | 2478 for (int i = ExtraNatives::GetDebuggerCount(); |
| 2479 i < ExtraNatives::GetBuiltinsCount(); i++) { | 2479 i < ExtraNatives::GetBuiltinsCount(); i++) { |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3145 } | 3145 } |
| 3146 | 3146 |
| 3147 | 3147 |
| 3148 // Called when the top-level V8 mutex is destroyed. | 3148 // Called when the top-level V8 mutex is destroyed. |
| 3149 void Bootstrapper::FreeThreadResources() { | 3149 void Bootstrapper::FreeThreadResources() { |
| 3150 DCHECK(!IsActive()); | 3150 DCHECK(!IsActive()); |
| 3151 } | 3151 } |
| 3152 | 3152 |
| 3153 } // namespace internal | 3153 } // namespace internal |
| 3154 } // namespace v8 | 3154 } // namespace v8 |
| OLD | NEW |