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

Unified Diff: src/js/v8natives.js

Issue 2137203002: [intrinsics] Remove obsolete intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Really nuke TO_NAME. Created 4 years, 5 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/js/macros.py ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/v8natives.js
diff --git a/src/js/v8natives.js b/src/js/v8natives.js
index 9026cfe684596649756bc58abdc57fcd1cbd7551..4e7d53664564d2a218730361ff9ab5cc3ee6ad3f 100644
--- a/src/js/v8natives.js
+++ b/src/js/v8natives.js
@@ -131,12 +131,6 @@ function ObjectIsPrototypeOf(V) {
}
-// ES6 19.1.3.4
-function ObjectPropertyIsEnumerable(V) {
- var P = TO_NAME(V);
- return %PropertyIsEnumerable(TO_OBJECT(this), P);
-}
-
// ES6 7.3.9
function GetMethod(obj, p) {
var func = obj[p];
@@ -201,7 +195,7 @@ utils.InstallFunctions(GlobalObject.prototype, DONT_ENUM, [
"toLocaleString", ObjectToLocaleString,
"valueOf", ObjectValueOf,
"isPrototypeOf", ObjectIsPrototypeOf,
- "propertyIsEnumerable", ObjectPropertyIsEnumerable,
+ // propertyIsEnumerable is added in bootstrapper.cc.
// __defineGetter__ is added in bootstrapper.cc.
// __lookupGetter__ is added in bootstrapper.cc.
// __defineSetter__ is added in bootstrapper.cc.
« no previous file with comments | « src/js/macros.py ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698