• Milad Farazmand's avatar
    PPC: [codegen][cleanup] Unify assembler's support for DebugBreak(). · 841fd707
    Milad Farazmand authored
    Port 86d4b9f6
    
    Original Commit Message:
    
        Each assembler has it's own way to place breakpoints:
    
          - stop() for arm, mips*, ppc* and s390.
          - debug() for arm64.
          - int3() for ia32 and x64.
    
        We can mandate a macro-assembler `DebugBreak()` method that all should
        implement so one can place a breakpoint in a portable way using a
        macro-assembler. This way also assemblers are in line with TurboFan, CSA, Torque
        and Liftoff which all have a DebugBreak() facility.
    
    R=pierre.langlois@arm.com, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: If2fb5ed99b4477142579e29fc5288d0768fd48c7
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2047463Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
    Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#66207}
    841fd707
macro-assembler-ppc.h 39.9 KB