v8/test
jarin@chromium.org acf24331e3 Fixed Lithium environment generation bug for captured objects (created
by escape analysis). Added several tests that expose the bug.

Summary:
LCodegen::AddToTranslation assumes that Lithium environments are
generated by depth-first traversal, but LChunkBuilder::CreateEnvironment
was generating them in breadth-first fashion. This fixes the
CreateEnvironment to traverse the captured objects depth-first.

Note:
It might be worth considering representing LEnvironment by a list
with the same order as the serialized translation representation
rather than having two lists with a subtle relationship between
them (and then serialize in a slightly different order again).

R=titzer@chromium.org, mstarzinger@chromium.org
LOG=N
BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18470 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-07 14:36:26 +00:00
..
benchmarks Update benchmark test suite. 2013-11-20 15:05:52 +00:00
cctest We need to know if a load, store or call IC is assumed 2014-01-07 14:14:34 +00:00
intl Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
message Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
mjsunit Fixed Lithium environment generation bug for captured objects (created 2014-01-07 14:36:26 +00:00
mozilla Make test runner more flexible for running fast tests. 2013-11-25 17:34:52 +00:00
preparser Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
test262 Reland "Implement Math.sin, cos and tan using table lookup and spline interpolation." 2013-11-12 14:43:18 +00:00
webkit Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00