Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Issue 10559005: Always invoke the default Array.sort functions from builtin functions. (Closed)

Created:
8 years, 6 months ago by fschneider
Modified:
8 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Always invoke the default Array.sort functions from builtin functions. TEST=mjsunit/regress/regress-builtin-array-op.js BUG=v8:2372 Committed: https://code.google.com/p/v8/source/detail?r=12752

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M src/array.js View 1 chunk +1 line, -1 line 1 comment Download
A test/mjsunit/regress/regress-builtin-array-op.js View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Yang
LGTM.
8 years, 2 months ago (2012-10-18 10:41:11 UTC) #1
fschneider
On 2012/10/18 10:41:11, Yang wrote: > LGTM. Landed. Thanks for the review!
8 years, 2 months ago (2012-10-18 11:21:03 UTC) #2
Vyacheslav Egorov (Google)
DBC :-) https://chromiumcodereview.appspot.com/10559005/diff/1/src/array.js File src/array.js (right): https://chromiumcodereview.appspot.com/10559005/diff/1/src/array.js#newcode65 src/array.js:65: ArraySort.call(keys, function(a, b) { return a - ...
8 years, 2 months ago (2012-10-19 12:11:50 UTC) #3
Yang
On 2012/10/19 12:11:50, Vyacheslav Egorov (Google) wrote: > DBC :-) > > https://chromiumcodereview.appspot.com/10559005/diff/1/src/array.js > File ...
8 years, 2 months ago (2012-10-19 12:21:53 UTC) #4
Florian Schneider
On 2012/10/19 12:11:50, Vyacheslav Egorov (Google) wrote: > DBC :-) > > https://chromiumcodereview.appspot.com/10559005/diff/1/src/array.js > File ...
8 years, 2 months ago (2012-10-19 12:22:18 UTC) #5
Yang
8 years, 2 months ago (2012-10-19 12:26:09 UTC) #6
On 2012/10/19 12:22:18, Florian Schneider wrote:
> On 2012/10/19 12:11:50, Vyacheslav Egorov (Google) wrote:
> > DBC :-)
> > 
> > https://chromiumcodereview.appspot.com/10559005/diff/1/src/array.js
> > File src/array.js (right):
> > 
> >
https://chromiumcodereview.appspot.com/10559005/diff/1/src/array.js#newcode65
> > src/array.js:65: ArraySort.call(keys, function(a, b) { return a - b; });
> > What happens here if I overwrite Function.prototype.call to do nasty things?
> 
> True, we should use %_CallFunction then.

--> https://chromiumcodereview.appspot.com/11175007/

Powered by Google App Engine
This is Rietveld 408576698