• Clemens Backes's avatar
    [codegen] Change a few DCHECKs to V8_ASSUMEs · e5524920
    Clemens Backes authored
    This might or might not give clang-tidy a hint that the reported case
    (see issue) cannot happen. It might also generate slightly better code
    by giving hints to the compiler.
    Note that V8_ASSUME is actually a DCHECK in DEBUG builds, so we do not
    loose any checks here.
    
    Some DCHECKs were removed because they are redundant
    (RegisterBase::code() assumes to be only called on valid registers).
    
    R=jkummerow@chromium.org
    
    Bug: chromium:1349619
    Change-Id: I467e7917a87ec86dd692f0edeed6bb72e0393cc4
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3804667
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82273}
    e5524920
Name
Last commit
Last update
..
assembler-arm-inl.h Loading commit data...
assembler-arm.cc Loading commit data...
assembler-arm.h Loading commit data...
constants-arm.cc Loading commit data...
constants-arm.h Loading commit data...
cpu-arm.cc Loading commit data...
interface-descriptors-arm-inl.h Loading commit data...
macro-assembler-arm.cc Loading commit data...
macro-assembler-arm.h Loading commit data...
register-arm.h Loading commit data...
reglist-arm.h Loading commit data...