• danno's avatar
    Use explicit context translation in CodeStub deoptimization · 3aa2dd34
    danno authored
    Before this CL, the context of the parent frame was used when deoptimizing a
    stub failure rather than the context value passed to the stub itself. In order
    to guarantee that the right context is passed to the runtime upon stub failure,
    this CL adds the context explicitly to the stub's environment that's used to
    compute the failure deoptimizing translations. The context can then be extracted
    during deoptimization translation to ensure that the precise context that was
    passed to the stub is also passed to the runtime.
    
    R=jarin@chromium.org
    LOG=N
    
    Review URL: https://codereview.chromium.org/1694183003
    
    Cr-Commit-Position: refs/heads/master@{#34030}
    3aa2dd34
deoptimizer.cc 134 KB