• Clemens Hammacher's avatar
    Use forwarding constructors for MacroAssembler · edab9a20
    Clemens Hammacher authored
    and TurboAssembler. Instead of listing all the different combinations
    of arguments (which is one more now, temporarily), just forward all
    arguments down via MacroAssembler and TurboAssembler to
    TurboAssemblerBase.
    Interestingly, this requires more specific types sometimes (int instead
    of size_t), since further down the forwarding chain, the compiler does
    not recognize any more that the value is a constant, and emits a
    warning about a possibly truncating implicit conversion.
    
    R=mstarzinger@chromium.org
    
    Bug: v8:8689, v8:8562
    Change-Id: Ifd13d2210ee64251c0075c0d9b68cacd5107d9ab
    Reviewed-on: https://chromium-review.googlesource.com/c/1414913Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#58869}
    edab9a20
macro-assembler-arm64.cc 115 KB