• Jakob Gruber's avatar
    [code] Prepare to move metadata out of the instructions area · 0d0a3416
    Jakob Gruber authored
    No major functional changes in this CL, mostly it moves code around
    to make follow-up CLs less messy.
    
     - Document Code layout.
     - New concepts: 'body' and 'metadata' areas of Code objects. The
       metadata area contains metadata tables, the body area includes
       both instructions and metadata (this is currently the 'instructions'
       area). Add accessors for these new areas.
     - An interesting detail: embedded builtins will have non-adjacent
       instruction and metadata areas, thus a concept of 'body' doesn't
       make sense there.
     - Also add raw_instruction_X_future accessors; these are used where
       we are actually interested in the instructions range, not the entire
       body. In a follow-up, current raw_instruction_X accessors will be
       replaced by raw_body_X, and raw_instruction_X_future by
       raw_instruction_X.
    
    Bug: v8:11036
    Change-Id: I1d85146b652e0c097c3602d4db1862d5d3898a7e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2491023
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70701}
    0d0a3416
Name
Last commit
Last update
..
benchmarks 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...