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

Unified Diff: src/bootstrapper.cc

Issue 1415883007: [es6] Partially implement Reflect.set. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months 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') | test/mjsunit/harmony/reflect.js » ('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 0b63ceb8f980bd336b027ba46b5c067a656a19d6..2c49b3d21f1135d73a9e14f600e0a5e50d0396e1 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2203,6 +2203,8 @@ void Genesis::InitializeGlobal_harmony_reflect() {
Builtins::kReflectIsExtensible, 1, true);
SimpleInstallFunction(reflect, "preventExtensions",
Builtins::kReflectPreventExtensions, 1, true);
+ SimpleInstallFunction(reflect, "set",
+ Builtins::kReflectSet, 3, false);
SimpleInstallFunction(reflect, "setPrototypeOf",
Builtins::kReflectSetPrototypeOf, 2, true);
}
« no previous file with comments | « no previous file | src/builtins.h » ('j') | test/mjsunit/harmony/reflect.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698