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

Unified Diff: src/bootstrapper.cc

Issue 2730573004: Revert of Migrate Object.prototype.valueOf to CSA (Closed)
Patch Set: Created 3 years, 10 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/builtins.h » ('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 68a4934bbb471aceede8092f04ea8e37e3fe20d0..c487961fe4a1ebf9bbaf80153ef979c403d3df33 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1266,10 +1266,6 @@
SimpleInstallFunction(object_function, factory->values_string(),
Builtins::kObjectValues, 1, false);
- Handle<JSFunction> object_value_of = SimpleInstallFunction(
- isolate->initial_object_prototype(), "valueOf",
- Builtins::kObjectPrototypeValueOf, 0, true);
- native_context()->set_object_value_of(*object_value_of);
SimpleInstallFunction(isolate->initial_object_prototype(),
"__defineGetter__", Builtins::kObjectDefineGetter, 2,
true);
« no previous file with comments | « no previous file | src/builtins/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698