• Dan Elphick's avatar
    [objects] Shrink FunctionTemplateInfo · b0b5eae0
    Dan Elphick authored
    Adds a new field rare_data of type FunctionTemplateRareData to
    FunctionTemplateInfo and moves 8 others which are unset on 90% of
    FunctionTemplateInfo objects to this field.
    
    Getters like prototype_template() are changed to GetPrototypeTemplate()
    to indicate they're not trivial. The setters are replaced with static
    methods (e.g. SetPrototypeTemplate) that take an Isolate and the
    template object, since they can now perform allocation.
    
    Bug: v8:8478
    Change-Id: If72b132ade4ca4a3f803f913761c9caddc0e9dd6
    Reviewed-on: https://chromium-review.googlesource.com/c/1342519
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57725}
    b0b5eae0
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer 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...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...