Reviewers: svenpanne_chromium.oeg, Kevin Millikin,
Description:
Support for precise stepping in functions compiled before debugging was
started
(step 2)
This change will ensure that full code with debug break slots is compiled
and
activated for all functions which already have activation frames.
This additional handling is only for functions which have activations on the
stack, and that activation is of the full code compiled without debug break
slots. In that case the full code is recompiled with debug break slots. It
is
ensured that the full code is compiled generating the exact same
instructions -
except for the additional debug break slots - as before. The return address
on
the stack is then patched to continue execution in the new code.
Also fixed SortedListBSearch to actually use the passed comparision
function.
[email protected], [email protected]
BUG=
TEST=
Please review this at http://codereview.chromium.org/8050010/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/compiler.h
M src/compiler.cc
M src/debug.h
M src/debug.cc
M src/full-codegen.cc
M src/list-inl.h
M src/objects-inl.h
M src/objects.h
A test/mjsunit/debug-step-3.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev