Add regression test for the deoptimizer immediately followed by gc bug.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 3 Feb 2011 13:47:27 +0000 (13:47 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 3 Feb 2011 13:47:27 +0000 (13:47 +0000)
commita2aa84873e9349e082bb684a646434f64880a617
treea076207e2e3047ddb2a9bbee4e4ae64a9bf5d3d3
parent73348e83eaa9f5ae1d734d62dc11363574fa2265
Add regression test for the deoptimizer immediately followed by gc bug.

In addition to the regression test I changed the gc-extension to take
a boolean flag specifying if compaction should be used (default is
false, existing tests will not change behaviour)

The regression test is disabled on arm and x64 with crankshaft
enabled. I made a bug to track this:
http://code.google.com/p/v8/issues/detail?id=1094

Review URL: http://codereview.chromium.org/6312118

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6619 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/extensions/gc-extension.cc
test/mjsunit/mjsunit.status
test/mjsunit/regress/regress-deopt-gc.js [new file with mode: 0644]