• jarin's avatar
    [turbofan] Remember types for deoptimization during simplified lowering. · b7dc9c58
    jarin authored
    With this change, we remember the types of frame state inputs (in a new
    operator, called TypedStateValues). Instead of inferring the value types
    when building translations, we used the recorded types.
    
    The original approach was not reliable because the passes after
    simplified lowering can change node types, and this in turn confuses
    the translation builder.
    
    BUG=chromium:468727
    LOG=n
    R=bmeurer@chromium.org
    
    Review URL: https://codereview.chromium.org/1015423002
    
    Cr-Commit-Position: refs/heads/master@{#27310}
    b7dc9c58
test-codegen-deopt.cc 9.22 KB