• mstarzinger's avatar
    [compiler] Make feedback vector cope with flag changes. · 460bff5f
    mstarzinger authored
    This fixes corner cases where the layout of feedback vectors baked into
    the snapshot is different from the expected layout, depending on some
    runtime flags. We make sure the feedback vector is regenereated for
    functions that are not compiled. Flag changes of this kind are only
    allowed when code is not serialized.
    
    An alternative solution would be to not serialize the feedback vector
    for such cases in the first place. That solution however would have a
    higher overhead, as it would required the serializer to be able to
    recognize feedback vectors while generating a snapshot.
    
    R=mvstanton@chromium.org
    TEST=mjsunit/regress/regress-crbug-600995
    BUG=chromium:600995
    LOG=n
    
    Review URL: https://codereview.chromium.org/1869693003
    
    Cr-Commit-Position: refs/heads/master@{#35339}
    460bff5f
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
fuzzer 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...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
ignition.gyp Loading commit data...
ignition.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...