• Seth Brenith's avatar
    [torque] Add bitfield declarations · 57074692
    Seth Brenith authored
    This change is the first part of adding Torque support for a "bitfield
    struct", which represents a set of bitfields packed together into an
    integer value. With this change, Torque can generate the list of
    BitField template specializations that allow runtime code to use the
    bitfield values. The flags used in SharedFunctionInfo are converted to
    Torque to exercise this functionality. Bitfield values are not yet
    accessible directly from Torque code.
    
    Bug: v8:7793
    Change-Id: I9e4a3df7c847111b6e02e513f175dbf938b0be35
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1949047
    Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65371}
    57074692
torque-compiler.cc 5.33 KB