Status: New
Owner: ----

New issue 627 by [email protected]: Performance issue: ArrayPush is not called when pushing to an array from jscompiler code.
http://code.google.com/p/v8/issues/detail?id=627

Keyed load function calls do not call the special functions stored in
special_function_table. In the below case, the generic
Array.proptotype.push is executed instead of the internal ArrayPush.
Top stack frames that illustrate the problem.

CALLEE:
function push(){?var a=(this.length>>>0);?var b=%_ArgumentsLength();?
for(var c=0;c<b;c++){?this[c+a]=%_Arguments(c);?}?this.length=a+b;?return
this.length;?}

CALLER:
function vea(b,a,c){c[p](Sg,a[Cb](wea,function(d){if(d in xea)return
xea[d];var f=d[Bd](0),g=sea;if(f<16)g+=tea;else if(f<256)g+=uea;else
if(f<4096)g+=Ih;return xea[d]=g+f[t](16)}),Sg)}


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to