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 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2123 SimpleInstallFunction(reflect, "get", | 2123 SimpleInstallFunction(reflect, "get", |
2124 Builtins::kReflectGet, 3, false); | 2124 Builtins::kReflectGet, 3, false); |
2125 SimpleInstallFunction(reflect, "getOwnPropertyDescriptor", | 2125 SimpleInstallFunction(reflect, "getOwnPropertyDescriptor", |
2126 Builtins::kReflectGetOwnPropertyDescriptor, 2, true); | 2126 Builtins::kReflectGetOwnPropertyDescriptor, 2, true); |
2127 SimpleInstallFunction(reflect, "getPrototypeOf", | 2127 SimpleInstallFunction(reflect, "getPrototypeOf", |
2128 Builtins::kReflectGetPrototypeOf, 1, true); | 2128 Builtins::kReflectGetPrototypeOf, 1, true); |
2129 SimpleInstallFunction(reflect, "has", | 2129 SimpleInstallFunction(reflect, "has", |
2130 Builtins::kReflectHas, 2, true); | 2130 Builtins::kReflectHas, 2, true); |
2131 SimpleInstallFunction(reflect, "isExtensible", | 2131 SimpleInstallFunction(reflect, "isExtensible", |
2132 Builtins::kReflectIsExtensible, 1, true); | 2132 Builtins::kReflectIsExtensible, 1, true); |
| 2133 SimpleInstallFunction(reflect, "ownKeys", |
| 2134 Builtins::kReflectOwnKeys, 1, true); |
2133 SimpleInstallFunction(reflect, "preventExtensions", | 2135 SimpleInstallFunction(reflect, "preventExtensions", |
2134 Builtins::kReflectPreventExtensions, 1, true); | 2136 Builtins::kReflectPreventExtensions, 1, true); |
2135 SimpleInstallFunction(reflect, "set", | 2137 SimpleInstallFunction(reflect, "set", |
2136 Builtins::kReflectSet, 3, false); | 2138 Builtins::kReflectSet, 3, false); |
2137 SimpleInstallFunction(reflect, "setPrototypeOf", | 2139 SimpleInstallFunction(reflect, "setPrototypeOf", |
2138 Builtins::kReflectSetPrototypeOf, 2, true); | 2140 Builtins::kReflectSetPrototypeOf, 2, true); |
2139 } | 2141 } |
2140 | 2142 |
2141 | 2143 |
2142 void Genesis::InitializeGlobal_harmony_sharedarraybuffer() { | 2144 void Genesis::InitializeGlobal_harmony_sharedarraybuffer() { |
(...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3228 } | 3230 } |
3229 | 3231 |
3230 | 3232 |
3231 // Called when the top-level V8 mutex is destroyed. | 3233 // Called when the top-level V8 mutex is destroyed. |
3232 void Bootstrapper::FreeThreadResources() { | 3234 void Bootstrapper::FreeThreadResources() { |
3233 DCHECK(!IsActive()); | 3235 DCHECK(!IsActive()); |
3234 } | 3236 } |
3235 | 3237 |
3236 } // namespace internal | 3238 } // namespace internal |
3237 } // namespace v8 | 3239 } // namespace v8 |
OLD | NEW |