• Igor Sheludko's avatar
    Snapshot: support rehashing of standalone descriptors. · 03f4c091
    Igor Sheludko authored
    This is necessary in order to support class literals boilerplates which will
    contain descriptor arrays not attached to maps.
    
    This CL introduces Heap::descriptor_array_map() which will be used only for
    descriptor arrays templates created as a part of class literal boilerplate.
    
    We don't use the new map for all descriptors for now because in order to handle
    chicken-egg problem in deserializer which can be solved in a clean and readable
    way only if introduce a DESCRIPTOR_ARRAY_TYPE instance type which we can't
    currently do because the InstanceType enum is already "full".
    
    Bug: v8:5799
    Change-Id: I732d236b0dda2c436ab3ce3ac5967f6c66162df3
    Reviewed-on: https://chromium-review.googlesource.com/758360
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49271}
    03f4c091
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles 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 Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm 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...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...