On 2012/05/28 16:24:00, m.m.capewell wrote:
Description from the patch:
The emission of constant pool depends on the size of the code generated
and
the number of RelocInfo recorded.
The Debug mechanism needs to map code offsets between two versions of a
function, compiled with and without debugger support (see for example
Debug::PrepareForBreakPoints()).
Compiling functions with debugger support generates additional code
(Debug::GenerateSlot()). This may affect the emission of the constant
pools and cause the version of the code with debugger support to have
constant pools generated in different places.
Recording the position and size of emitted constant pools allows to
correctly compute the offset mappings between the different versions of a
function in all situations.
I'll take a look as soon as I'm back from vacation (Monday in a! week).
http://codereview.chromium.org/10449047/
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev