• Junliang Yan's avatar
    PPC/s390: Use forwarding constructors for MacroAssembler · 30617b77
    Junliang Yan authored
    Port edab9a20
    
    Original Commit Message:
    
        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=clemensh@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: I6dddc58b81d020570087393158f4ad0f37efa9ce
    Reviewed-on: https://chromium-review.googlesource.com/c/1417379Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#58889}
    30617b77
assembler-s390.h 57.4 KB