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

Unified Diff: src/js/string-iterator.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/js/regexp.js ('k') | src/js/v8natives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/string-iterator.js
diff --git a/src/js/string-iterator.js b/src/js/string-iterator.js
index ece207cd742ac9dd3fe8725ab51fd27ceabfba2e..3c331dd1a2da4e99dc0e84be7c9ffa091f01acad 100644
--- a/src/js/string-iterator.js
+++ b/src/js/string-iterator.js
@@ -46,7 +46,7 @@ function StringIteratorNext() {
var value = UNDEFINED;
var done = true;
- if (!IS_SPEC_OBJECT(iterator) ||
+ if (!IS_RECEIVER(iterator) ||
!HAS_DEFINED_PRIVATE(iterator, stringIteratorNextIndexSymbol)) {
throw MakeTypeError(kIncompatibleMethodReceiver,
'String Iterator.prototype.next');
« no previous file with comments | « src/js/regexp.js ('k') | src/js/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698