Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: src/bootstrapper.cc

Issue 1460563002: [es6] Partially implement Reflect.ownKeys. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/builtins.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2114 matching lines...) Expand 10 before | Expand all | Expand 10 after
2125 SimpleInstallFunction(reflect, "get", 2125 SimpleInstallFunction(reflect, "get",
2126 Builtins::kReflectGet, 3, false); 2126 Builtins::kReflectGet, 3, false);
2127 SimpleInstallFunction(reflect, "getOwnPropertyDescriptor", 2127 SimpleInstallFunction(reflect, "getOwnPropertyDescriptor",
2128 Builtins::kReflectGetOwnPropertyDescriptor, 2, true); 2128 Builtins::kReflectGetOwnPropertyDescriptor, 2, true);
2129 SimpleInstallFunction(reflect, "getPrototypeOf", 2129 SimpleInstallFunction(reflect, "getPrototypeOf",
2130 Builtins::kReflectGetPrototypeOf, 1, true); 2130 Builtins::kReflectGetPrototypeOf, 1, true);
2131 SimpleInstallFunction(reflect, "has", 2131 SimpleInstallFunction(reflect, "has",
2132 Builtins::kReflectHas, 2, true); 2132 Builtins::kReflectHas, 2, true);
2133 SimpleInstallFunction(reflect, "isExtensible", 2133 SimpleInstallFunction(reflect, "isExtensible",
2134 Builtins::kReflectIsExtensible, 1, true); 2134 Builtins::kReflectIsExtensible, 1, true);
2135 SimpleInstallFunction(reflect, "ownKeys",
2136 Builtins::kReflectOwnKeys, 1, true);
2135 SimpleInstallFunction(reflect, "preventExtensions", 2137 SimpleInstallFunction(reflect, "preventExtensions",
2136 Builtins::kReflectPreventExtensions, 1, true); 2138 Builtins::kReflectPreventExtensions, 1, true);
2137 SimpleInstallFunction(reflect, "set", 2139 SimpleInstallFunction(reflect, "set",
2138 Builtins::kReflectSet, 3, false); 2140 Builtins::kReflectSet, 3, false);
2139 SimpleInstallFunction(reflect, "setPrototypeOf", 2141 SimpleInstallFunction(reflect, "setPrototypeOf",
2140 Builtins::kReflectSetPrototypeOf, 2, true); 2142 Builtins::kReflectSetPrototypeOf, 2, true);
2141 } 2143 }
2142 2144
2143 2145
2144 void Genesis::InitializeGlobal_harmony_sharedarraybuffer() { 2146 void Genesis::InitializeGlobal_harmony_sharedarraybuffer() {
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
3244 } 3246 }
3245 3247
3246 3248
3247 // Called when the top-level V8 mutex is destroyed. 3249 // Called when the top-level V8 mutex is destroyed.
3248 void Bootstrapper::FreeThreadResources() { 3250 void Bootstrapper::FreeThreadResources() {
3249 DCHECK(!IsActive()); 3251 DCHECK(!IsActive());
3250 } 3252 }
3251 3253
3252 } // namespace internal 3254 } // namespace internal
3253 } // namespace v8 3255 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698