• mvstanton's avatar
    TurboFan: commit dependencies only on update of the opt. code list. · f9c46ed1
    mvstanton authored
    TurboFan compilation was committing dependencies long before the
    optimized function made it's way into the optimized code list for
    the native context. The problem is that once the code pointer is out
    there in dependency arrays, it is eligible for deopt. But the deopt
    logic needs the code to be in the optimized code list to fully do it's
    job.
    
    BUG=
    R=jarin@chromium.org
    
    Review URL: https://codereview.chromium.org/1136693003
    
    Cr-Commit-Position: refs/heads/master@{#28312}
    f9c46ed1
deoptimizer.cc 140 KB