• Mythri A's avatar
    [turbofan] Allow polymorphic inlining for Array push / pop / shift · 3e90eee9
    Mythri A authored
    Array push / pop / shift were inlined if the elements kind of the
    receiver maps is the same. This cl extends it by inlining these
    builtins even when the receiver maps have different elements kinds.
    It still limits it to only fast elements kinds. This is required to
    prevent regressions in deltablue when lazy feedback allocation is
    enabled. With lazy feedback allocation we may see polymorphic
    feedback more often, since we don't have allocation site feedback
    till the feedback vectors are allocated.
    
    Bug: v8:9078
    Change-Id: Id4a7b84be6305b125913b6ce0fb4f3eb3e3b15ec
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1632239
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61949}
    3e90eee9
array-multiple-receiver-maps.js 7.12 KB