• Benedikt Meurer's avatar
    [turbofan] Utilize UNINITIALIZED state of CompareIC and BinaryOpIC. · d6d72082
    Benedikt Meurer authored
    In the BytecodeGraphBuilder we insert a SOFT deopt whenever we see an
    IC whose state is UNINITIALIZED, i.e. a LOAD_IC or a STORE_IC. This
    greatly reduces the size of the generated graphs (and also helps to
    improve generated code quality). However for COMPARE_IC and BINARY_OP_IC
    we used to stick in the generic JavaScript node instead, which does
    generate code and might block optimizations because its sitting in
    the effect chain. This is changed now to always SOFT deopt for
    UNINITIALIZED instead, consistently with the other ICs.
    
    Bug: v8:6760
    Change-Id: I2ac7469fa86512a2fd909fdde2c6425977694811
    Reviewed-on: https://chromium-review.googlesource.com/645858
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47771}
    d6d72082
deoptimize-reason.h 5.9 KB