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

Unified Diff: src/bootstrapper.cc

Issue 1100673002: Wrap harmony implementations in functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « src/ast-value-factory.h ('k') | src/harmony-array.js » ('j') | no next file with comments »
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 2e46530d95f8010215e15bc7a6a63daf29624591..7b8084eb87bdd4523c230025f2b1969abfe7ddf4 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1727,14 +1727,12 @@ void Genesis::InitializeGlobal_harmony_reflect() {
Handle<JSObject> builtins(native_context()->builtins());
// Install references to functions of the Reflect object
if (FLAG_harmony_reflect || FLAG_harmony_spreadcalls) {
- Handle<JSFunction> apply =
- InstallFunction(builtins, "ReflectApply", JS_OBJECT_TYPE,
- JSObject::kHeaderSize, MaybeHandle<JSObject>(),
- Builtins::kReflectApply);
- Handle<JSFunction> construct =
- InstallFunction(builtins, "ReflectConstruct", JS_OBJECT_TYPE,
- JSObject::kHeaderSize, MaybeHandle<JSObject>(),
- Builtins::kReflectConstruct);
+ Handle<JSFunction> apply = InstallFunction(
+ builtins, "$reflectApply", JS_OBJECT_TYPE, JSObject::kHeaderSize,
+ MaybeHandle<JSObject>(), Builtins::kReflectApply);
+ Handle<JSFunction> construct = InstallFunction(
+ builtins, "$reflectConstruct", JS_OBJECT_TYPE, JSObject::kHeaderSize,
+ MaybeHandle<JSObject>(), Builtins::kReflectConstruct);
if (FLAG_vector_ics) {
// Apply embeds an IC, so we need a type vector of size 1 in the shared
// function info.
« no previous file with comments | « src/ast-value-factory.h ('k') | src/harmony-array.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698