DescriptionUse explicit context translation in CodeStub deoptimization
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
Committed: https://crrev.com/3aa2dd34f76bed92e7f2c7cff3e6f7ff7f9881e4
Cr-Commit-Position: refs/heads/master@{#34030}
Patch Set 1 #Patch Set 2 : Tweaks #Patch Set 3 : Add comment #
Messages
Total messages: 7 (2 generated)
|