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

Unified Diff: src/js/array.js

Issue 1531843003: Rename IS_SPEC_OBJECT macro to IS_RECEIVER. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « src/debug/mirrors.js ('k') | src/js/array-iterator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/array.js
diff --git a/src/js/array.js b/src/js/array.js
index 3d0923b53215d7ba716e71de3a89fc244b9f16fc..d679eb9a96090d53e95e1ea87a77c1a218ed2ba4 100644
--- a/src/js/array.js
+++ b/src/js/array.js
@@ -1774,7 +1774,7 @@ function ArrayFrom(arrayLike, mapfn, receiver) {
while (true) {
var next = iterator.next();
- if (!IS_SPEC_OBJECT(next)) {
+ if (!IS_RECEIVER(next)) {
throw MakeTypeError(kIteratorResultNotAnObject, next);
}
« no previous file with comments | « src/debug/mirrors.js ('k') | src/js/array-iterator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698