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

Unified Diff: src/js/harmony-reflect.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/collection.js ('k') | src/js/harmony-regexp.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/harmony-reflect.js
diff --git a/src/js/harmony-reflect.js b/src/js/harmony-reflect.js
index bbca0fef618ac5bd917239ff5a070ef94c3f6cfb..dcadad522f63455a2aa3fbd2f9e7d6a1dc2a92ee 100644
--- a/src/js/harmony-reflect.js
+++ b/src/js/harmony-reflect.js
@@ -23,7 +23,7 @@ utils.Import(function(from) {
// -------------------------------------------------------------------
function ReflectEnumerate(obj) {
- if (!IS_SPEC_OBJECT(obj))
+ if (!IS_RECEIVER(obj))
throw MakeTypeError(kCalledOnNonObject, "Reflect.enumerate")
return (function* () { for (var x in obj) yield x })();
}
« no previous file with comments | « src/js/collection.js ('k') | src/js/harmony-regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698