• svenpanne@chromium.org's avatar
    Heavy cleanup of the external pointer API. · f3807ca1
    svenpanne@chromium.org authored
    Added highly efficient Object::SetAlignedPointerInInternalField and
    Object::GetAlignedPointerFromInternalField functions for 2-byte-aligned
    pointers. Their non-aligned counterparts Object::GetPointerFromInternalField and
    Object::SetPointerInInternalField are now deprecated utility functions.
    
    External is now a true Value again, with New/Value/Cast using a JSObject with an
    internal field containing a Foreign. External::Wrap, and External::Unwrap are now
    deprecated utility functions.
    
    Added Context::GetEmbedderData and Context::SetEmbedderData. Deprecated
    Context::GetData and Context::SetData, these are now only wrappers to access
    internal field 0.
    
    Added highly efficient Context::SetAlignedPointerInEmbedderData and
    Context::GetAlignedPointerFromEmbedderData functions for 2-byte-aligned
    pointers.
    
    Review URL: https://codereview.chromium.org/11190050
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12849 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    f3807ca1
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
preparser Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS 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...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
SConstruct Loading commit data...