Go to file
sgjesse@chromium.org c2c780bfc4 Added handles to the mirror objects. When a mirror for an object is created
it is assigned a numeric handle. Handles are used to make a 1:1
correspondence between objects and mirrors. Currently the mirrors are
cached in a JavaScript array and when creating a mirror this cache is
checked to see if a mirror already exists for the object. This cache is
cleared when leaving the debugger.

Changed the serialization format to take advantage of these handles. When
an object is serialized referenced objects are represented just by their
handle id serialized as '{ref:<handle>}'. During serialization the
referenced handles are collected and the serializer can provide a
serialization of all the referenced objects.

Removed the special handling of array properties. Indexed properties and
the length property are now rendered as named properties in the
serialization.

Removed the special serialization handling of RegExp properties. The
properties 'source', 'global', 'ignoreCase' and 'multiline' are serialized
with the rest of the properties.

Changed a lot of tests to handle the changed format.
Review URL: http://codereview.chromium.org/18092

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1093 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-01-16 09:54:46 +00:00
benchmarks Fix benchmarks to not format scores that are really errors. 2009-01-13 09:27:47 +00:00
include Added more constness to the api. There are still some methods back 2009-01-08 11:35:34 +00:00
samples Adds a --help option and usage message listing all flags to V8. 2008-11-06 10:43:15 +00:00
src Added handles to the mirror objects. When a mirror for an object is created 2009-01-16 09:54:46 +00:00
test Added handles to the mirror objects. When a mirror for an object is created 2009-01-16 09:54:46 +00:00
tools Separately growing stack for irregexp ia32 backtrack stack. 2009-01-12 13:05:23 +00:00
AUTHORS Apply patch from Alexander Botero-Lowry that adds FreeBSD platform 2008-11-21 10:06:29 +00:00
ChangeLog Preparing push to trunk (0.4.7) 2009-01-06 14:11:19 +00:00
LICENSE Initial export. 2008-07-03 15:10:15 +00:00
SConstruct Added support for building V8 on Windows with either the shared or static version of MSVCRT. The selection of the MSVCRT version is through the new SCons flag msvcrt which can have values static or shared with static being the default. 2008-11-21 11:19:01 +00:00