-
sgjesse@chromium.org authored
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
df4471c8
Name |
Last commit
|
Last update |
---|---|---|
benchmarks | ||
include | ||
samples | ||
src | ||
test | ||
tools | ||
.gitignore | ||
AUTHORS | ||
ChangeLog | ||
LICENSE | ||
SConstruct |