• wingo@igalia.com's avatar
    Support symbol-named properties in API · e929f5fe
    wingo@igalia.com authored
    Add new "Name" type to API that is a supertype of Symbol and String.
    
    Object::SetDeclaredAccessor, Object::SetAccessorProperty, Template::Set,
    Template::SetAccessorProperty, and Template::SetDeclaredAccessor now
    take a Name as the property name instead of a String.
    
    Add Object::SetAccessor, Template::SetNativeDataProperty, and
    ObjectTemplate::SetAccessor overloads that can define accessors for
    symbol-named properties.
    
    R=dcarney@chromium.org, rossberg@chromium.org
    BUG=v8:3394
    TEST=cctest/test-api/TestSymbolProperties
    LOG=Y
    
    Review URL: https://codereview.chromium.org/459413002
    
    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23247 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    e929f5fe
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/fdlibm Loading commit data...
tools Loading commit data...
.DEPS.git Loading commit data...
.clang-format Loading commit data...
.gitignore 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...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...