Revert of Debugger: use FrameInspector in ScopeIterator to find context. (patchset...
authoryangguo <yangguo@chromium.org>
Fri, 17 Jul 2015 09:53:41 +0000 (02:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Jul 2015 09:53:49 +0000 (09:53 +0000)
commitc062b28aebdf881674b074f0727dfbf00b936db8
tree72e541cdea528e132aa7405edb20c75077f58004
parentdc71c1b5864466ca2d9943af169392b1e2a834b3
Revert of Debugger: use FrameInspector in ScopeIterator to find context. (patchset #3 id:40001 of https://codereview.chromium.org/1239033002/)

Reason for revert:
breaks roll: http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/87292/steps/browser_tests%20%28with%20patch%29/logs/DevToolsSanityTest.TestPauseWhenScriptIsRunning

Original issue's description:
> Debugger: use FrameInspector in ScopeIterator to find context.
>
> In optimized code, it's not guaranteed that the current context
> is stored in its frame slot.
>
> R=bmeurer@chromium.org
> BUG=v8:4309
> LOG=N
>
> Committed: https://crrev.com/3a0ee39cbde6a9778cfc4e2a6a0a8ff68933ff38
> Cr-Commit-Position: refs/heads/master@{#29697}

TBR=bmeurer@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:4309

Review URL: https://codereview.chromium.org/1243553002

Cr-Commit-Position: refs/heads/master@{#29722}
src/debug.cc
src/runtime/runtime-debug.cc
test/mjsunit/es6/debug-blockscopes.js
test/mjsunit/regress/regress-4309-1.js [deleted file]
test/mjsunit/regress/regress-4309-2.js [deleted file]
test/mjsunit/regress/regress-4309-3.js [deleted file]