DescriptionAdd WeakMap to v8.h
A new map wich references its keys weakly is added to v8.h. Internally it uses the same storage as JSWeakMap but doesn't depend on the JavaScript part of WeakMap implementation in weak-collection.js, hence it can be instantiated without entering any context.
BUG=chromium:437416
LOG=Y
Committed: https://crrev.com/37d4c57630636f21e3add8d3d1c7c978ff5fc8e0
Cr-Commit-Position: refs/heads/master@{#26401}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Addressed review comments #Patch Set 3 : Fixed compilation errors #Patch Set 4 : Renamed WeakMap to WeakKeyMap #Patch Set 5 : Moved constructor&destructor to api.cc #
Messages
Total messages: 22 (7 generated)
|