• Igor Sheludko's avatar
    [ptr-compr] Introduce StrongTaggedValue and TaggedValue · ae348e30
    Igor Sheludko authored
    ... which represent potentially compressed Object and MaybeObject
    values respectively. They provide methods for checking the smi/weak
    tags which don't require decompression and conversion to Smi/HeapObject
    combined with tag checks.
    
    The new classes should help to write a bit more efficient runtime (C++)
    code for the cases when we don't need the full decompressed value
    immediately.
    
    Drive-by-fix: fix ptr-compr build after Object::operator->() removal.
    
    Bug: v8:7703
    Change-Id: I7a3d747ab6679120a2cca14e45b0d8bcf33fc496
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1624786Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61804}
    ae348e30
tagged-impl-inl.h 7.37 KB