• franzih's avatar
    [type-profile] Handle returns correctly. · 86c2db5e
    franzih authored
    Handle fall-off returns and returns inside try blocks.
    
    Store the type-profile feedback slot on the FunctionLiteral
    rather than on every return statement.
    
    Next steps:
    * Store entries in nexus that can be identified as 'return' (rather than parameter or assignment)
    * Collect types for parameters and assignments
    * Distinguish multiple parameters and assignments correctly
    
    R=mstarzinger@chromium.org
    BUG=v8:5935
    
    Review-Url: https://codereview.chromium.org/2764113002
    Cr-Commit-Position: refs/heads/master@{#44014}
    86c2db5e
runtime-object.cc 34.8 KB