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