Reland "Prevent liveedit on or under generators with open activations"
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 22 May 2014 07:32:59 +0000 (07:32 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 22 May 2014 07:32:59 +0000 (07:32 +0000)
commitab3afc5722077e59577ea13b0058b1e28d431817
treebe0335fca547e4ed58c743c92918381f49fd22a2
parenta7e816db2892efd1a019dc2d1d9bbda68e9ecf1a
Reland "Prevent liveedit on or under generators with open activations"

The change relative to the previous CL is a logic change in
DropActivationsInActiveThreadImpl.  The previous CL skipped the matcher
unless the frame was a JS frame; this was correct for
MultipleFunctionTarget but not for SingleFrameTarget.

I have not been able to reproduce the original failures on either
architecture (ia32 or x64; stack frame dropping is unsupported on other
architectures).

R=yangguo@chromium.org
LOG=N
TEST=mjsunit/harmony/generators-debug-liveedit.js
BUG=

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

Patch from Andy Wingo <wingo@igalia.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21419 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/liveedit-debugger.js
src/liveedit.cc
src/liveedit.h
src/objects-inl.h
src/objects.h
test/mjsunit/harmony/generators-debug-liveedit.js [new file with mode: 0644]
test/mjsunit/mjsunit.status