Comment #18 on issue 3340 by [email protected]: Expose ES6 Map/Set
through the V8 API
https://code.google.com/p/v8/issues/detail?id=3340#c18
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/df472240285a93f25edac20100db2240fae5c7c6
commit df472240285a93f25edac20100db2240fae5c7c6
Author: adamk <[email protected]>
Date: Tue Jun 23 15:14:06 2015
Expose Map/Set methods through the API
Map: get, set, has, delete, clear
Set: add, has, delete, clear
All except clear are implemented as calls into collection.js.
Note that some of these shadow methods of v8::Object. It's unclear
how confusing that's going to be: on the one hand, it seems likely
that most operations you would want to do on a Map or Set are these.
On the other, generic code could get confused if it somehow gets
ahold of a variable that happens to be C++-typed as a v8::Map or v8::Set.
BUG=v8:3340
LOG=y
Review URL: https://codereview.chromium.org/1204623002
Cr-Commit-Position: refs/heads/master@{#29237}
[modify]
http://crrev.com/df472240285a93f25edac20100db2240fae5c7c6/include/v8.h
[modify]
http://crrev.com/df472240285a93f25edac20100db2240fae5c7c6/src/api.cc
[modify]
http://crrev.com/df472240285a93f25edac20100db2240fae5c7c6/src/bootstrapper.cc
[modify]
http://crrev.com/df472240285a93f25edac20100db2240fae5c7c6/src/collection.js
[modify]
http://crrev.com/df472240285a93f25edac20100db2240fae5c7c6/src/contexts.h
[modify]
http://crrev.com/df472240285a93f25edac20100db2240fae5c7c6/src/runtime/runtime-collections.cc
[modify]
http://crrev.com/df472240285a93f25edac20100db2240fae5c7c6/src/runtime/runtime.h
[modify]
http://crrev.com/df472240285a93f25edac20100db2240fae5c7c6/test/cctest/test-api.cc
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.