• bmeurer's avatar
    [turbofan] Initial support for Array constructor specialization. · aeb41de0
    bmeurer authored
    Introduce a JSCreateArray operator that represents the Array
    constructor, and lower call and construct calls to the Array
    constructor to JSCreateArray. Currently we don't yet replace
    that with an inline allocation, but always use the specialized
    stubs for the Array constructor.
    
    This saves a lot of unnecessary deopts and elements transitions
    because now we can actually consume the allocation site feedback
    for the transitions.
    
    R=mstarzinger@chromium.org
    BUG=v8:4470
    LOG=n
    
    Review URL: https://codereview.chromium.org/1466643002
    
    Cr-Commit-Position: refs/heads/master@{#32145}
    aeb41de0
opcodes.h 11.8 KB