• Milad Fa's avatar
    PPC/s390: [codegen] Optimize out calls to TurboAssembler::Assert* · 45a74f3a
    Milad Fa authored
    Port c3ca8158
    
    Original Commit Message:
    
        In release builds, FLAG_debug_code is statically false. Without LTO,
        this information is not available to callers of the various Assert
        functions though.
        This CL defines the methods as empty if V8_ENABLE_DEBUG_CODE is not set.
        This removes some calls from non-LTO builds, and might even slightly
        improve LTO builds if we enable more optimizations earlier in the
        pipeline.
    
    R=clemensb@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: I5c82eed38db6a2f49e833410554231bc61518b18
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3820068Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
    Cr-Commit-Position: refs/heads/main@{#82344}
    45a74f3a
Name
Last commit
Last update
..
assembler-s390-inl.h Loading commit data...
assembler-s390.cc Loading commit data...
assembler-s390.h Loading commit data...
constants-s390.cc Loading commit data...
constants-s390.h Loading commit data...
cpu-s390.cc Loading commit data...
interface-descriptors-s390-inl.h Loading commit data...
macro-assembler-s390.cc Loading commit data...
macro-assembler-s390.h Loading commit data...
register-s390.h Loading commit data...
reglist-s390.h Loading commit data...