Description[interpreter] Fix debug stepping for generators.
In commit b3bfc0bd58b07232da08c1d6e7504c55b4e80710, I corrected the source
position of yield-exceptions by not setting the "return position" on returns
that correspond to yields. It turns out that this caused a bug with debug
stepping. The proper fix is to keep the return position on those returns but
additionally attach the yield's source position to the Throw emitted in
VisitYield.
R=rmcilroy@chromium.org, yangguo@chromium.org
BUG=v8:4907
Committed: https://crrev.com/6e700b7f769e9f15a5193f9efcf43aa07fc3054d
Cr-Commit-Position: refs/heads/master@{#36896}
Patch Set 1 #
Total comments: 1
Patch Set 2 : rebase #
Messages
Total messages: 23 (10 generated)
|