• Franziska Hinkelmann's avatar
    Revert "[builtins] don't inline calls for common Promise ops in async builtins" · c931820d
    Franziska Hinkelmann authored
    This reverts commit 9461fe24.
    
    Reason for revert: Breaks a test in Node.js: 
     parallel/test-util-inspect
    
    === release test-util-inspect ===                                              
    Path: parallel/test-util-inspect
    #
    # Fatal error in , line 0
    # unreachable code
    #
    
    ==== C stack trace ===============================
    
    
    Original change's description:
    > [builtins] don't inline calls for common Promise ops in async builtins
    > 
    > InternalResolvePromise, InternalPromiseReject and
    > InternalPerformPromiseThen generate quite a lot of code.
    > 
    > This change adds 3 new TF stubs which inline calls to these builtins.
    > These stubs are invoked rather than inlining those operations listed
    > above directly. This is done for Async Iteration builtins, as well as
    > Async Function builtins. Promise builtins are left as they were, and
    > continue to inline these calls.
    > 
    > This results in a roughly 99kb reduction in snapshot_blob.bin on an x64
    > release build.
    > 
    > BUG=v8:5855
    > R=​gsathya@chromium.org, jgruber@chromium.org
    > 
    > Change-Id: I3349d0f0353a72270ae40b974312d64d1c8a9e46
    > Reviewed-on: https://chromium-review.googlesource.com/461269
    > Commit-Queue: Caitlin Potter <caitp@igalia.com>
    > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
    > Reviewed-by: Sathya Gunasekaran (ooo until April 10) <gsathya@chromium.org>
    > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#44445}
    
    TBR=mstarzinger@chromium.org,gsathya@chromium.org,caitp@igalia.com,jgruber@chromium.org,v8-reviews@googlegroups.com,bmeurer@chromium.org
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=v8:5855
    
    Change-Id: Iabcdf8b025cc9b053a858f8e74389638ac000ba0
    Reviewed-on: https://chromium-review.googlesource.com/469946Reviewed-by: 's avatarFranziska Hinkelmann <franzih@chromium.org>
    Commit-Queue: Franziska Hinkelmann <franzih@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#44448}
    c931820d
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...