• Georg Neis's avatar
    [turbofan] Don't access heap in ReduceElementAccess · 4d39e342
    Georg Neis authored
    This CL builds on top of feedback preprocessing. It brokerizes
    all parts of element access reduction and disallows heap access there
    (except for debug tracing).
    
    To make this work without breaking tests (when concurrent inlining is
    enabled):
    - We don't inline functions that weren't serialized for compilation.
    - We don't optimize for constant typed-array receivers when the typed
      array wasn't serialized.
    
    This means that from now on --concurrent-inlining (and thus --future)
    may result in less optimization than the default configuration.
    
    Bug: v8:7790
    Change-Id: I22685258b7d841fc9183bf99775d3f09cd272927
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1495556
    Commit-Queue: Georg Neis <neis@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60061}
    4d39e342
serializer-for-background-compilation.h 8.57 KB