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

Unified Diff: src/js/v8natives.js

Issue 1491613002: [runtime] Rename IsPropertyEnumerable to PropertyIsEnumerable conforming to the spec. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed missing rename Created 5 years 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/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 97ace80ef8f2b9b81fb8029619e091827e7452af..c7d86e03f77c08cb89223fc08dce7a8c1f558784 100644
--- a/src/js/v8natives.js
+++ b/src/js/v8natives.js
@@ -210,7 +210,7 @@ function ObjectIsPrototypeOf(V) {
// ES6 19.1.3.4
function ObjectPropertyIsEnumerable(V) {
var P = TO_NAME(V);
- return %IsPropertyEnumerable(TO_OBJECT(this), P);
+ return %PropertyIsEnumerable(TO_OBJECT(this), P);
}
@@ -1192,7 +1192,7 @@ function ObjectAssign(target, sources) {
for (var j = 0; j < len; ++j) {
var key = keys[j];
- if (%IsPropertyEnumerable(from, key)) {
+ if (%PropertyIsEnumerable(from, key)) {
var propValue = from[key];
to[key] = propValue;
}
« no previous file with comments | « no previous file | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698