• bmeurer's avatar
    Revert of [turbofan] Enable super constructor inlining. (patchset #1 id:1 of... · a601eccb
    bmeurer authored
    Revert of [turbofan] Enable super constructor inlining. (patchset #1 id:1 of https://codereview.chromium.org/2409423006/ )
    
    Reason for revert:
    As adamk@ pointed out, this is not correct. Some more changes required instead
    
    Original issue's description:
    > [turbofan] Enable super constructor inlining.
    >
    > When we inlined a [[Construct]] call to a subclass constructor, we can
    > also inline the super constructor call (either explicit or implicit),
    > since we have a concrete JSFunction constant for the subclass and we
    > can thus constant-fold the %_GetSuperConstructor intrinsic. We don't
    > need any guards here since the prototype of subclass constructors is
    > non-writable, non-configurable in ES6.
    >
    > BUG=v8:5517
    > R=jarin@chromium.org
    >
    > Committed: https://crrev.com/74158b00b3f6a1fc8676dd1f7af4d96131eb5ebe
    > Cr-Commit-Position: refs/heads/master@{#40261}
    
    TBR=jarin@chromium.org,adamk@chromium.org
    # Skipping CQ checks because original CL landed less than 1 days ago.
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=v8:5517
    
    Review-Url: https://codereview.chromium.org/2413883003
    Cr-Commit-Position: refs/heads/master@{#40285}
    a601eccb
js-intrinsic-lowering.cc 13.8 KB