On Fri, Jul 3, 2009 at 5:13 PM, Stephan Beal<[email protected]> wrote:
>
> On Fri, Jul 3, 2009 at 2:47 PM, ondras<[email protected]> wrote:
>> There is also similar check in ia32/builtins-ia32.cc, but that not
>> make much sense to me.
>
> See also:
>
> http://code.google.com/p/v8/issues/detail?id=172
>
> which says (based on a v8 dump):
>
> invalid_array_apply_length: 0xb7956d2d <String[59]:
> Function.prototype.apply supports only up to 1024 arguments>
That message string looks unused, as far as I can tell. I'll check it
out next week and remove it.
You can see that there isn't a 1024 limit on apply but running:
function x() {
print(arguments.length);
}
x.apply(this, Array(2000));
-- dean
>
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---