• mstarzinger's avatar
    [turbofan] Initial support for constructor call inlining. · 11d5d09c
    mstarzinger authored
    This implements a first version of support for constructor call inlining
    in the inlining machinery. For now we can only inline calls where the
    actual constructor and the original constructor coincide (i.e. no super
    constructor calls). Note that the target of a super constructor call is
    loaded with a runtime call, so there is no way for it to be constant
    promoted at the moment.
    
    R=bmeurer@chromium.org
    BUG=v8:4544
    LOG=n
    
    Review URL: https://codereview.chromium.org/1435873002
    
    Cr-Commit-Position: refs/heads/master@{#31954}
    11d5d09c
runtime-function.cc 21.1 KB