| 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/ieee754.h" | 9 #include "src/base/ieee754.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 3861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3872 InstallOneBuiltinFunction(array_prototype, "map", Builtins::kArrayMap); | 3872 InstallOneBuiltinFunction(array_prototype, "map", Builtins::kArrayMap); |
| 3873 } | 3873 } |
| 3874 { | 3874 { |
| 3875 Handle<Object> typed_array_prototype( | 3875 Handle<Object> typed_array_prototype( |
| 3876 native_context()->typed_array_prototype(), isolate()); | 3876 native_context()->typed_array_prototype(), isolate()); |
| 3877 // Insert experimental fast TypedArray builtins here. | 3877 // Insert experimental fast TypedArray builtins here. |
| 3878 InstallOneBuiltinFunction(typed_array_prototype, "every", | 3878 InstallOneBuiltinFunction(typed_array_prototype, "every", |
| 3879 Builtins::kTypedArrayPrototypeEvery); | 3879 Builtins::kTypedArrayPrototypeEvery); |
| 3880 InstallOneBuiltinFunction(typed_array_prototype, "some", | 3880 InstallOneBuiltinFunction(typed_array_prototype, "some", |
| 3881 Builtins::kTypedArrayPrototypeSome); | 3881 Builtins::kTypedArrayPrototypeSome); |
| 3882 InstallOneBuiltinFunction(typed_array_prototype, "reduce", |
| 3883 Builtins::kTypedArrayPrototypeReduce); |
| 3884 InstallOneBuiltinFunction(typed_array_prototype, "reduceRight", |
| 3885 Builtins::kTypedArrayPrototypeReduceRight); |
| 3882 } | 3886 } |
| 3883 } | 3887 } |
| 3884 | 3888 |
| 3885 void Genesis::InitializeGlobal_harmony_sharedarraybuffer() { | 3889 void Genesis::InitializeGlobal_harmony_sharedarraybuffer() { |
| 3886 if (!FLAG_harmony_sharedarraybuffer) return; | 3890 if (!FLAG_harmony_sharedarraybuffer) return; |
| 3887 | 3891 |
| 3888 Handle<JSGlobalObject> global(native_context()->global_object()); | 3892 Handle<JSGlobalObject> global(native_context()->global_object()); |
| 3889 Isolate* isolate = global->GetIsolate(); | 3893 Isolate* isolate = global->GetIsolate(); |
| 3890 Factory* factory = isolate->factory(); | 3894 Factory* factory = isolate->factory(); |
| 3891 | 3895 |
| (...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5281 } | 5285 } |
| 5282 | 5286 |
| 5283 | 5287 |
| 5284 // Called when the top-level V8 mutex is destroyed. | 5288 // Called when the top-level V8 mutex is destroyed. |
| 5285 void Bootstrapper::FreeThreadResources() { | 5289 void Bootstrapper::FreeThreadResources() { |
| 5286 DCHECK(!IsActive()); | 5290 DCHECK(!IsActive()); |
| 5287 } | 5291 } |
| 5288 | 5292 |
| 5289 } // namespace internal | 5293 } // namespace internal |
| 5290 } // namespace v8 | 5294 } // namespace v8 |
| OLD | NEW |