• Michael Achenbach's avatar
    Revert "[ignition] Add call bytecodes for undefined receiver" · 925212a1
    Michael Achenbach authored
    This reverts commit 751e8935.
    
    Reason for revert: Breaks layout tests:
    https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/14885
    
    See:
    https://github.com/v8/v8/wiki/Blink-layout-tests
    
    Original change's description:
    > [ignition] Add call bytecodes for undefined receiver
    > 
    > Adds a collection of call bytecodes which have an implicit undefined
    > receiver argument, for cases such as global calls where we know that the
    > receiver has to be undefined. This way we can skip an LdaUndefined,
    > decrease bytecode register pressure, and set a more accurate
    > ConvertReceiverMode on the interpreter and TurboFan call.
    > 
    > As a side effect, the "normal" Call bytecode now becomes a rare case
    > (only with calls and super property calls), so we get rid of its 0-2
    > argument special cases and modify CallProperty[N] to use the
    > NotNullOrUndefined ConvertReceiverMode.
    > 
    > Change-Id: I9374a32fefd66fc0251b5193bae7a6b7dc31eefc
    > Reviewed-on: https://chromium-review.googlesource.com/463287
    > Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#44530}
    
    TBR=rmcilroy@chromium.org,mstarzinger@chromium.org,leszeks@chromium.org,v8-reviews@googlegroups.com,v8-mips-ports@googlegroups.com,v8-ppc-ports@googlegroups.com,v8-x87-ports@googlegroups.com,bmeurer@chromium.org
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    
    Change-Id: I7629dec609d0ec938ce7105d6c1c74884e5f9272
    Reviewed-on: https://chromium-review.googlesource.com/474744
    Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#44548}
    925212a1
code-factory.cc 18.6 KB