• 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
..
OWNERS Loading commit data...
assembler-arm64-inl.h Loading commit data...
assembler-arm64.cc Loading commit data...
assembler-arm64.h Loading commit data...
builtins-arm64.cc Loading commit data...
code-stubs-arm64.cc Loading commit data...
code-stubs-arm64.h Loading commit data...
codegen-arm64.cc Loading commit data...
codegen-arm64.h Loading commit data...
constants-arm64.h Loading commit data...
cpu-arm64.cc Loading commit data...
debug-arm64.cc Loading commit data...
decoder-arm64-inl.h Loading commit data...
decoder-arm64.cc Loading commit data...
decoder-arm64.h Loading commit data...
delayed-masm-arm64-inl.h Loading commit data...
delayed-masm-arm64.cc Loading commit data...
delayed-masm-arm64.h Loading commit data...
deoptimizer-arm64.cc Loading commit data...
disasm-arm64.cc Loading commit data...
disasm-arm64.h Loading commit data...
frames-arm64.cc Loading commit data...
frames-arm64.h Loading commit data...
full-codegen-arm64.cc Loading commit data...
ic-arm64.cc Loading commit data...
instructions-arm64.cc Loading commit data...
instructions-arm64.h Loading commit data...
instrument-arm64.cc Loading commit data...
instrument-arm64.h Loading commit data...
lithium-arm64.cc Loading commit data...
lithium-arm64.h Loading commit data...
lithium-codegen-arm64.cc Loading commit data...
lithium-codegen-arm64.h Loading commit data...
lithium-gap-resolver-arm64.cc Loading commit data...
lithium-gap-resolver-arm64.h Loading commit data...
macro-assembler-arm64-inl.h Loading commit data...
macro-assembler-arm64.cc Loading commit data...
macro-assembler-arm64.h Loading commit data...
regexp-macro-assembler-arm64.cc Loading commit data...
regexp-macro-assembler-arm64.h Loading commit data...
simulator-arm64.cc Loading commit data...
simulator-arm64.h Loading commit data...
stub-cache-arm64.cc Loading commit data...
utils-arm64.cc Loading commit data...
utils-arm64.h Loading commit data...