| 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 2405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2416 if (!CompileExperimentalBuiltin(isolate(), i)) return false; \ | 2416 if (!CompileExperimentalBuiltin(isolate(), i)) return false; \ |
| 2417 } \ | 2417 } \ |
| 2418 } \ | 2418 } \ |
| 2419 } | 2419 } |
| 2420 HARMONY_INPROGRESS(INSTALL_EXPERIMENTAL_NATIVES); | 2420 HARMONY_INPROGRESS(INSTALL_EXPERIMENTAL_NATIVES); |
| 2421 HARMONY_STAGED(INSTALL_EXPERIMENTAL_NATIVES); | 2421 HARMONY_STAGED(INSTALL_EXPERIMENTAL_NATIVES); |
| 2422 HARMONY_SHIPPING(INSTALL_EXPERIMENTAL_NATIVES); | 2422 HARMONY_SHIPPING(INSTALL_EXPERIMENTAL_NATIVES); |
| 2423 #undef INSTALL_EXPERIMENTAL_NATIVES | 2423 #undef INSTALL_EXPERIMENTAL_NATIVES |
| 2424 } | 2424 } |
| 2425 | 2425 |
| 2426 CallUtilsFunction(isolate(), "PostExperimentals"); | |
| 2427 | |
| 2428 InstallExperimentalNativeFunctions(); | 2426 InstallExperimentalNativeFunctions(); |
| 2429 return true; | 2427 return true; |
| 2430 } | 2428 } |
| 2431 | 2429 |
| 2432 | 2430 |
| 2433 bool Genesis::InstallExtraNatives() { | 2431 bool Genesis::InstallExtraNatives() { |
| 2434 for (int i = ExtraNatives::GetDebuggerCount(); | 2432 for (int i = ExtraNatives::GetDebuggerCount(); |
| 2435 i < ExtraNatives::GetBuiltinsCount(); i++) { | 2433 i < ExtraNatives::GetBuiltinsCount(); i++) { |
| 2436 if (!CompileExtraBuiltin(isolate(), i)) return false; | 2434 if (!CompileExtraBuiltin(isolate(), i)) return false; |
| 2437 } | 2435 } |
| (...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3047 return from + sizeof(NestingCounterType); | 3045 return from + sizeof(NestingCounterType); |
| 3048 } | 3046 } |
| 3049 | 3047 |
| 3050 | 3048 |
| 3051 // Called when the top-level V8 mutex is destroyed. | 3049 // Called when the top-level V8 mutex is destroyed. |
| 3052 void Bootstrapper::FreeThreadResources() { | 3050 void Bootstrapper::FreeThreadResources() { |
| 3053 DCHECK(!IsActive()); | 3051 DCHECK(!IsActive()); |
| 3054 } | 3052 } |
| 3055 | 3053 |
| 3056 } } // namespace v8::internal | 3054 } } // namespace v8::internal |
| OLD | NEW |