• 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
..
embedded Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
code-serializer.cc Loading commit data...
code-serializer.h Loading commit data...
context-deserializer.cc Loading commit data...
context-deserializer.h Loading commit data...
context-serializer.cc Loading commit data...
context-serializer.h Loading commit data...
deserializer.cc Loading commit data...
deserializer.h Loading commit data...
mksnapshot.cc Loading commit data...
object-deserializer.cc Loading commit data...
object-deserializer.h Loading commit data...
read-only-deserializer.cc Loading commit data...
read-only-deserializer.h Loading commit data...
read-only-serializer.cc Loading commit data...
read-only-serializer.h Loading commit data...
references.h Loading commit data...
roots-serializer.cc Loading commit data...
roots-serializer.h Loading commit data...
serializer-deserializer.cc Loading commit data...
serializer-deserializer.h Loading commit data...
serializer.cc Loading commit data...
serializer.h Loading commit data...
snapshot-compression.cc Loading commit data...
snapshot-compression.h Loading commit data...
snapshot-data.cc Loading commit data...
snapshot-data.h Loading commit data...
snapshot-empty.cc Loading commit data...
snapshot-external.cc Loading commit data...
snapshot-source-sink.cc Loading commit data...
snapshot-source-sink.h Loading commit data...
snapshot-utils.cc Loading commit data...
snapshot-utils.h Loading commit data...
snapshot.cc Loading commit data...
snapshot.h Loading commit data...
startup-deserializer.cc Loading commit data...
startup-deserializer.h Loading commit data...
startup-serializer.cc Loading commit data...
startup-serializer.h Loading commit data...