• Santiago Aboy Solanes's avatar
    [CSA] Update MachineType to TaggedSigned for Smi's load and stores · c04b27fb
    Santiago Aboy Solanes authored
    The important bit is using MachineType::TaggedSigned instead of AnyTagged
    in CSA. Everything else, it's just the result of adding types to variables.
    
    SloppyTNode-ify LoadAndUntagToWord32ObjectField.
    
    Both LoadAndUntagSmi and StoreAndTagSmi were only used once, and their
    names were not clear. Inline those where they were used.
    
    TNodify:
    * ReloadBytecodeOffset
    * LoadAndUntagRegister
    * GetInterpretedFramePointer
    * Advance (the three variants)
    * SaveBytecodeOffset
    * BytecodeOffset
    
    Type variables:
    * interpreted_frame_pointer_
    * bytecode_offset_
    
    Create macros:
    * TYPED_VARIABLE_CONSTRUCTOR
    * TVARIABLE_CONSTRUCTOR
    which are similar to their non-typed counterparts.
    
    Bug: v8:7703, v8:6949
    Change-Id: I776e3fe16ca642f868bb635b8bcd5b8b78ca6fea
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1758308Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63522}
    c04b27fb
interpreter-assembler.cc 68.7 KB