• bmeurer's avatar
    [turbofan] Use correct lazy frame state for JSCreate. · 476296b9
    bmeurer authored
    If JSCreate (which corresponds to %NewObject) would ever trigger a lazy
    deopt, we would deopt after the constructor call, skipping all the
    initialization and what else in the constructor function, which is
    wrong. Instead we can use the eager bailout point right before the
    constructor function, because allocation is not observable and so we can
    safely repeat the %NewObject in case of lazy bailout.
    
    R=yangguo@chromium.org
    BUG=v8:4544
    LOG=n
    
    Review URL: https://codereview.chromium.org/1530583004
    
    Cr-Commit-Position: refs/heads/master@{#32880}
    476296b9
js-inlining.cc 21.3 KB