• Mike Stanton's avatar
    Reland "[ptr-compr] New RelocInfo for compressed pointers." · ed319e84
    Mike Stanton authored
    Failure addressed by not exposing the new test to the jitless environment.
    (jgruber@ on TBR).
    
    New enum RelocInfo::COMPRESSED_EMBEDDED_OBJECT created to support
    compressed pointers in generated code. Enum name EMBEDDED_OBJECT
    changed to FULL_EMBEDDED_OBJECT.
    
    RelocInfo::[set_]target_object() abstract away the difference between
    FULL_EMBEDDED_OBJECT and COMPRESSED_EMBEDDED_OBJECT.
    
    Compressed embedded objects can only be created at this time on
    x64 with pointer compression turned on. Arm64 constant pools don't
    support compressed objects at this time.
    
    NOPRESUBMIT=true
    
    Bug: v8:7703
    TBR: jgruber@chromium.org
    Change-Id: Ifff53b041bab09b4b8c3e16085e5df4aa2b99f4f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1588461Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Michael Stanton <mvstanton@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61104}
    ed319e84
reloc-info.cc 19.2 KB