• littledan's avatar
    Move async/await JS support code out of experimental natives · 13b8a123
    littledan authored
    The file formerly known as src/js/harmony-async-await.js does not
    expose anything directly to JavaScript code; it just makes a few
    functions available on the native context for the parser desugaring
    to expand into. Experimental natives have various issues with
    larger amounts of code, so this patch moves the JS builtins to
    support async functions out of experimental natives and into the
    core snapshot. The change would be done eventually anyway, but this
    patch does it before removing the flag to support shipping the
    feature while avoiding the pitfalls of experimental natives.
    
    Drive by cleanup: remove more unused functions from the whitelist for experimental natives.
    
    BUG=v8:5427,v8:4483
    
    Review-Url: https://codereview.chromium.org/2365123002
    Cr-Commit-Position: refs/heads/master@{#39706}
    13b8a123
async-await.js 6.02 KB