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

Unified Diff: src/runtime/runtime.h

Issue 947683002: Reimplement Maps and Sets in JS (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rename all the things, add more macros, and remove unnecessary %_CallFunctions Created 5 years, 9 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/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index f2876371e5a2ecdf742e553a8269c4a9b2ca88e5..c1f41bddfeb0397c0236aeb0a92b765587b6a6c9 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -296,6 +296,13 @@ namespace internal {
F(GetConstructTrap, 1, 1) \
F(Fix, 1, 1) \
\
+ /* ES6 collections */ \
+ F(MapGrow, 1, 1) \
+ F(MapShrink, 1, 1) \
+ F(SetGrow, 1, 1) \
+ F(SetShrink, 1, 1) \
+ F(GenericHash, 1, 1) \
+ \
/* ES6 collection iterators */ \
F(SetIteratorInitialize, 3, 1) \
F(SetIteratorClone, 1, 1) \
@@ -699,18 +706,14 @@ namespace internal {
F(MathLogRT, 1, 1) \
/* ES6 Collections */ \
F(MapClear, 1, 1) \
- F(MapDelete, 2, 1) \
- F(MapGet, 2, 1) \
- F(MapGetSize, 1, 1) \
- F(MapHas, 2, 1) \
F(MapInitialize, 1, 1) \
- F(MapSet, 3, 1) \
- F(SetAdd, 2, 1) \
F(SetClear, 1, 1) \
- F(SetDelete, 2, 1) \
- F(SetGetSize, 1, 1) \
- F(SetHas, 2, 1) \
F(SetInitialize, 1, 1) \
+ F(FixedArrayGet, 2, 1) \
+ F(FixedArraySet, 3, 1) \
+ F(JSCollectionGetTable, 1, 1) \
+ F(StringGetRawHashField, 1, 1) \
+ F(TheHole, 0, 1) \
/* Arrays */ \
F(HasFastPackedElements, 1, 1) \
F(GetPrototype, 1, 1)

Powered by Google App Engine
This is Rietveld 408576698