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

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: Disable one more test Created 5 years, 10 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 1ea85c83ab936f518683f02a762b8ecb4ded056c..0fce4094c466e714ecd3f4816c4a2bc42b441e02 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) \
@@ -716,18 +723,15 @@ 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(FixedArraySetTheHole, 2, 1) \
+ F(JSCollectionGetTable, 1, 1) \
+ F(StringHash, 1, 1) \
+ F(SmiHash, 1, 1) \
/* Arrays */ \
F(HasFastPackedElements, 1, 1) \
F(GetPrototype, 1, 1)
« src/objects.cc ('K') | « src/runtime.js ('k') | src/runtime/runtime-collections.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698