Made a few changes according to Anton's suggestions.
http://codereview.chromium.org/7477045/diff/6002/src/heap.cc File src/heap.cc (right): http://codereview.chromium.org/7477045/diff/6002/src/heap.cc#newcode2691 src/heap.cc:2691: sliced_string->set_parent(cons->first()); There is no second part. I assert in line 2674 that the string is flat, meaning that it is either sequential, sliced or a flattened cons. Flattened cons strings only have a first(), which is a sequential string. Its second() is empty and has length 0. http://codereview.chromium.org/7477045/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
