• bmeurer's avatar
    [runtime] Introduce a proper %NewArray runtime entry. · ceade6cf
    bmeurer authored
    This adds a new %NewArray runtime entry, which constructs a new JSArray
    and does the subclassing correctly (to the same degree that %NewObject
    does currently), and also deals properly with the AllocationSite
    feedback mechanism. This runtime entry will be used by TurboFan and is
    also used as a fallback in the subclassing case in the stub currently.
    
    BUG=v8:3101, v8:3330
    LOG=n
    
    Review URL: https://codereview.chromium.org/1456423003
    
    Cr-Commit-Position: refs/heads/master@{#32131}
    ceade6cf
code-stubs-arm.cc 192 KB