v8/test
sgjesse@chromium.org df4471c8f3 Fix stack tweaking in array allocation
When Array(0) or new Array(0) is handled by the generated code it is handled
by the same code as Array() and new Array(). For this to work the stack is
tweaked to remove the argument of value 0. However the argc was still passed
as 1 if a call to the runtime system was made.

When the stack is tweaked argc is also changed to 0.

BUG=634
TEST=test/mjsunittest/mjsunit/regress/regress-634.js
Review URL: http://codereview.chromium.org/668155

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4038 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-03-05 13:43:53 +00:00
..
cctest Change allocations in test-heap to use handles. This makes the test 2010-03-05 09:51:10 +00:00
es5conform MIPS port initial commit 2010-02-04 20:36:58 +00:00
message MIPS port initial commit 2010-02-04 20:36:58 +00:00
mjsunit Fix stack tweaking in array allocation 2010-03-05 13:43:53 +00:00
mozilla Sort tests to increase predictability of mozilla test runs 2009-11-04 16:55:24 +00:00
sputnik MIPS port initial commit 2010-02-04 20:36:58 +00:00