• Mike Stanton's avatar
    [Turbofan] Model JSToBoolean as a simplified operator · 78fc6668
    Mike Stanton authored
    Because the toboolean operator may lower to a builtin call (which is
    effectful in turbofan parlance after effect control linearization),
    it really should be encoded as a simplified operator, which can
    be optimized with respect for the effect chain in linearization.
    
    No new functionality here, rather a furniture rearrangement in
    the TurboFan node structure.
    
    Bug: v8:6929
    Change-Id: I371fd22941397d5c28d13bded2738161d8da8275
    Reviewed-on: https://chromium-review.googlesource.com/725721Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
    Commit-Queue: Michael Stanton <mvstanton@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48727}
    78fc6668
js-typed-lowering.cc 91.7 KB