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

Unified Diff: src/objects-visiting.cc

Issue 236143002: ES6: Add support for Map.prototype.forEach and Set.prototype.forEach (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Handle-ify and UsedCapacity Created 6 years, 8 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
« src/objects.cc ('K') | « src/objects-visiting.h ('k') | src/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-visiting.cc
diff --git a/src/objects-visiting.cc b/src/objects-visiting.cc
index b314a4788a9af7d647f47c92c8641996542b54f8..b70ee3f0f47ff397c75576c49a8fefc66c98b350 100644
--- a/src/objects-visiting.cc
+++ b/src/objects-visiting.cc
@@ -110,6 +110,12 @@ StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId(
kVisitStructGeneric,
JSMap::kSize);
+ case JS_SET_ITERATOR_TYPE:
+ return kVisitJSSetIterator;
+
+ case JS_MAP_ITERATOR_TYPE:
+ return kVisitJSMapIterator;
+
case JS_WEAK_MAP_TYPE:
return kVisitJSWeakMap;
« src/objects.cc ('K') | « src/objects-visiting.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698