• bmeurer's avatar
    [turbofan] Initial version of allocation folding and write barrier elimination. · b8229ec4
    bmeurer authored
    This adds a new pass MemoryOptimizer that walks over the effect chain
    from Start and lowers all Allocate, LoadField, StoreField, LoadElement,
    and StoreElement nodes, trying to fold allocations into allocation
    groups and eliminate write barriers on StoreField and StoreElement if
    possible (i.e. if the object belongs to the current allocation group and
    that group allocates in new space).
    
    R=hpayer@chromium.org, jarin@chromium.org
    BUG=v8:4931, chromium:580959
    LOG=n
    
    Review-Url: https://codereview.chromium.org/1963583004
    Cr-Commit-Position: refs/heads/master@{#36128}
    b8229ec4
linkage.h 14.6 KB