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

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: Merged to master Created 5 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
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/runtime/runtime-collections.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 4fb487037ce542c0f596ae1b9f2c9f92c37c0f74..e9e4879328cbb67d26a482680718a2274f8ccf2d 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -301,6 +301,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) \
@@ -705,18 +712,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) \
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/runtime/runtime-collections.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698