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/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/extensions/externalize-string-extension.h" | 10 #include "src/extensions/externalize-string-extension.h" |
(...skipping 2115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2126 SimpleInstallFunction(reflect, "get", | 2126 SimpleInstallFunction(reflect, "get", |
2127 Builtins::kReflectGet, 3, false); | 2127 Builtins::kReflectGet, 3, false); |
2128 SimpleInstallFunction(reflect, "getOwnPropertyDescriptor", | 2128 SimpleInstallFunction(reflect, "getOwnPropertyDescriptor", |
2129 Builtins::kReflectGetOwnPropertyDescriptor, 2, true); | 2129 Builtins::kReflectGetOwnPropertyDescriptor, 2, true); |
2130 SimpleInstallFunction(reflect, "getPrototypeOf", | 2130 SimpleInstallFunction(reflect, "getPrototypeOf", |
2131 Builtins::kReflectGetPrototypeOf, 1, true); | 2131 Builtins::kReflectGetPrototypeOf, 1, true); |
2132 SimpleInstallFunction(reflect, "has", | 2132 SimpleInstallFunction(reflect, "has", |
2133 Builtins::kReflectHas, 2, true); | 2133 Builtins::kReflectHas, 2, true); |
2134 SimpleInstallFunction(reflect, "isExtensible", | 2134 SimpleInstallFunction(reflect, "isExtensible", |
2135 Builtins::kReflectIsExtensible, 1, true); | 2135 Builtins::kReflectIsExtensible, 1, true); |
2136 SimpleInstallFunction(reflect, "ownKeys", | |
2137 Builtins::kReflectOwnKeys, 1, true); | |
2138 SimpleInstallFunction(reflect, "preventExtensions", | 2136 SimpleInstallFunction(reflect, "preventExtensions", |
2139 Builtins::kReflectPreventExtensions, 1, true); | 2137 Builtins::kReflectPreventExtensions, 1, true); |
2140 SimpleInstallFunction(reflect, "set", | 2138 SimpleInstallFunction(reflect, "set", |
2141 Builtins::kReflectSet, 3, false); | 2139 Builtins::kReflectSet, 3, false); |
2142 SimpleInstallFunction(reflect, "setPrototypeOf", | 2140 SimpleInstallFunction(reflect, "setPrototypeOf", |
2143 Builtins::kReflectSetPrototypeOf, 2, true); | 2141 Builtins::kReflectSetPrototypeOf, 2, true); |
2144 } | 2142 } |
2145 | 2143 |
2146 | 2144 |
2147 void Genesis::InitializeGlobal_harmony_sharedarraybuffer() { | 2145 void Genesis::InitializeGlobal_harmony_sharedarraybuffer() { |
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3236 } | 3234 } |
3237 | 3235 |
3238 | 3236 |
3239 // Called when the top-level V8 mutex is destroyed. | 3237 // Called when the top-level V8 mutex is destroyed. |
3240 void Bootstrapper::FreeThreadResources() { | 3238 void Bootstrapper::FreeThreadResources() { |
3241 DCHECK(!IsActive()); | 3239 DCHECK(!IsActive()); |
3242 } | 3240 } |
3243 | 3241 |
3244 } // namespace internal | 3242 } // namespace internal |
3245 } // namespace v8 | 3243 } // namespace v8 |
OLD | NEW |