• Vicky Kontoura's avatar
    [web snapshot] Support classes · 8439314d
    Vicky Kontoura authored
    This CL adds support for classes with methods.
    
    More specifically:
    - A new ValueSerializer is added and classes are serialized separetely
    from functions, although the common parts are handled in the same way
    and abstracted away.
    - The function prototype is serialized as an object and any missing
    information is set up again during deserialization.
    - FunctionFlagsToFunctionKinds() is updated to allow for more function
    kinds.
    - Context serialization is updated to support serializing BlockContexts
    and creating ScopeInfos of type CLASS_SCOPE.
    - Map serialization is updated to support properties with custom
    attributes.
    
    Bug: v8:11525, v8:11706
    Change-Id: I16ca7cbc17b1811721081cda05124ce36073f9be
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3006416
    Commit-Queue: Vicky Kontoura <vkont@google.com>
    Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75893}
    8439314d
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...