DescriptionFix 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
Committed: http://code.google.com/p/v8/source/detail?r=4038
Patch Set 1 #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|