Revision: 4121 Author: [email protected] Date: Fri Mar 12 08:54:35 2010 Log: Remove now obsolete comment.
Now builtins only process fast case when there is no need to lift elements from
the prototypes. [email protected] Review URL: http://codereview.chromium.org/890004 http://code.google.com/p/v8/source/detail?r=4121 Modified: /branches/bleeding_edge/src/builtins.cc ======================================= --- /branches/bleeding_edge/src/builtins.cc Thu Mar 11 08:24:31 2010 +++ /branches/bleeding_edge/src/builtins.cc Fri Mar 12 08:54:35 2010 @@ -486,10 +486,6 @@ int len = Smi::cast(array->length())->value(); int to_add = args.length() - 1; - // Note that we cannot quit early if to_add == 0 as - // values should be lifted from prototype into - // the array. - int new_length = len + to_add; // Currently fixed arrays cannot grow too big, so // we should never hit this case. -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
