• Wenyu Zhao's avatar
    Reland "[csa] Remove InnerAllocate and replace with non-folded allocations" · 09faa661
    Wenyu Zhao authored
    The initial CL is suspected to break the --predictable CI.
    But looks like the CI is still crashing and also flaky after the
    revert. So reland it again.
    
    This is a reland of 59d58d72
    
    Original change's description:
    > [csa] Remove InnerAllocate and replace with non-folded allocations
    >
    > This CL removes all uses of InnerAllocate (except memento allocations)
    > and replace with non-folded allocations. The change is based on the
    > fact that 1. Those InnerAllocates are not guarded by --allocation-folding
    > flag. 2. Hopefully the MemoryOptimizer can handle the folding and no
    > performance regression will happen.
    >
    > Two special versions of InnerAllocate is still kept:
    > * One for memento allocations (renamed to InnerAllocateMemento).
    > * One for AllocateUninitializedJSArrayWithElements (renamed to InnerAllocateElements).
    >
    > Change-Id: Ie77da6b2fba31b048241f7b7d927065305a01c27
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2873767
    > Commit-Queue: Wenyu Zhao <wenyu.zhao@anu.edu.au>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#74899}
    
    Change-Id: I540c3a6b6e3f7c70c048f8ad1e5f702287fb086b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2946667
    Commit-Queue: Wenyu Zhao <wenyu.zhao@anu.edu.au>
    Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75015}
    09faa661
builtins-async-function-gen.cc 12.9 KB