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

Unified Diff: src/bootstrapper.cc

Issue 1405243006: [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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/builtins.h » ('j') | src/objects.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index d69ab5b1c9657a9aa744ca74fab8c8d4c2250eff..6deaeb8e8061f56a1ea7e3b66387edda9521fe79 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2130,6 +2130,8 @@ void Genesis::InitializeGlobal_harmony_reflect() {
Builtins::kReflectHas, 2, true);
SimpleInstallFunction(reflect, "isExtensible",
Builtins::kReflectIsExtensible, 1, true);
+ SimpleInstallFunction(reflect, "ownKeys",
+ Builtins::kReflectOwnKeys, 1, true);
SimpleInstallFunction(reflect, "preventExtensions",
Builtins::kReflectPreventExtensions, 1, true);
SimpleInstallFunction(reflect, "set",
« no previous file with comments | « no previous file | src/builtins.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698