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

Issue 6223: Make sure that the name accessor on functions return the expected... (Closed)

Created:
12 years, 2 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
Reviewers:
Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Make sure that the name accessor on functions return the expected names. - Set the correct name of library functions. - Set the name of C++ callback functions. - Clean up a couple of out-dated comments related to literal creation. Committed: http://code.google.com/p/v8/source/detail?r=414

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+823 lines, -608 lines) Patch
M src/apinatives.js View 1 4 chunks +9 lines, -8 lines 0 comments Download
M src/array.js View 1 26 chunks +96 lines, -90 lines 0 comments Download
M src/date-delay.js View 1 46 chunks +182 lines, -148 lines 0 comments Download
M src/debug-delay.js View 15 chunks +21 lines, -21 lines 0 comments Download
M src/math.js View 1 3 chunks +87 lines, -60 lines 0 comments Download
M src/messages.js View 1 15 chunks +32 lines, -32 lines 0 comments Download
M src/mirror-delay.js View 31 chunks +38 lines, -38 lines 0 comments Download
M src/regexp-delay.js View 1 10 chunks +82 lines, -74 lines 0 comments Download
M src/runtime.cc View 5 chunks +15 lines, -13 lines 0 comments Download
M src/runtime.js View 20 chunks +41 lines, -41 lines 0 comments Download
M src/string.js View 17 chunks +56 lines, -49 lines 0 comments Download
M src/uri.js View 1 18 chunks +29 lines, -28 lines 0 comments Download
M src/v8natives.js View 1 6 chunks +10 lines, -6 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +19 lines, -0 lines 0 comments Download
test/mjsunit/function-names.js View 1 chunk +106 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (chromium)
12 years, 2 months ago (2008-10-02 21:42:36 UTC) #1
Kasper Lund
LGTM with a few comments: http://codereview.chromium.org/6223/diff/1/10 File src/array.js (right): http://codereview.chromium.org/6223/diff/1/10#newcode932 Line 932: InstallFunctions($Array.prototype, DONT_ENUM, new ...
12 years, 2 months ago (2008-10-03 05:55:18 UTC) #2
Mads Ager (chromium)
12 years, 2 months ago (2008-10-03 07:13:42 UTC) #3
Thanks.  Committed.

http://codereview.chromium.org/6223/diff/1/10
File src/array.js (right):

http://codereview.chromium.org/6223/diff/1/10#newcode932
Line 932: InstallFunctions($Array.prototype, DONT_ENUM, new $Array(
Right.  An array literal will not work.

http://codereview.chromium.org/6223/diff/1/7
File src/date-delay.js (right):

http://codereview.chromium.org/6223/diff/1/7#newcode645
Line 645: };
No need for a separate round of reviews for that.  I have removed the semicolons
I could find.

http://codereview.chromium.org/6223/diff/1/9
File src/messages.js (right):

http://codereview.chromium.org/6223/diff/1/9#newcode654
Line 654: DefineError('Error', function Error(msg) { });
The (msg) part is gone.  It is replaced anyway.

I'm now getting the name from the function passed in.

http://codereview.chromium.org/6223/diff/1/6
File src/regexp-delay.js (right):

http://codereview.chromium.org/6223/diff/1/6#newcode342
Line 342: function NoOpSetter(ignored) {};
Done.

http://codereview.chromium.org/6223/diff/1/6#newcode363
Line 363: // A local scope to hide the loop index i.
True, none of the local scope are needed here since we are in a function scope
already.  Removed.

http://codereview.chromium.org/6223/diff/1/12
File src/string.js (right):

http://codereview.chromium.org/6223/diff/1/12#newcode1
Line 1: // Copyright 2006-2008 the V8 project authors. All rights reserved.
I agree.  I'll do that in a separate change list.

http://codereview.chromium.org/6223/diff/1/4
File src/v8natives.js (right):

http://codereview.chromium.org/6223/diff/1/4#newcode78
Line 78: return $floor(string);
Done.

Powered by Google App Engine
This is Rietveld 408576698