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

Unified Diff: src/runtime.h

Issue 329253004: Optimize Map/Set.prototype.forEach (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Unhandlify Created 6 years, 6 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
Index: src/runtime.h
diff --git a/src/runtime.h b/src/runtime.h
index 286af0949bc9f892a37a81d8afa60fd36d788deb..e9fcc0b8d9da8de1ad5e2599b21b4a4a767f7352 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -275,6 +275,9 @@ namespace internal {
\
F(SetIteratorInitialize, 3, 1) \
F(SetIteratorNext, 1, 1) \
+ F(SetIteratorCurrentKey, 1, 1) \
+ F(SetIteratorHasMore, 1, 1) \
+ F(SetIteratorMoveNext, 1, 1) \
\
/* Harmony maps */ \
F(MapInitialize, 1, 1) \
@@ -287,6 +290,10 @@ namespace internal {
\
F(MapIteratorInitialize, 3, 1) \
F(MapIteratorNext, 1, 1) \
+ F(MapIteratorCurrentKey, 1, 1) \
+ F(MapIteratorCurrentValue, 1, 1) \
+ F(MapIteratorHasMore, 1, 1) \
+ F(MapIteratorMoveNext, 1, 1) \
\
/* Harmony weak maps and sets */ \
F(WeakCollectionInitialize, 1, 1) \

Powered by Google App Engine
This is Rietveld 408576698