• adamk's avatar
    Expose Map/Set methods through the API · df472240
    adamk authored
    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}
    df472240
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...