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

Issue 7148014: Ensure that bound functions does not have a prototype (fixes issue 794) (Closed)

Created:
9 years, 6 months ago by Rico
Modified:
9 years, 6 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Ensure that bound functions does not have a prototype (fixes issue 794) Committed: http://code.google.com/p/v8/source/detail?r=8293

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -5 lines) Patch
M src/objects.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M src/runtime.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M src/v8natives.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/function-bind.js View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
A test/mjsunit/regress/regress-794.js View 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Rico
9 years, 6 months ago (2011-06-14 13:06:03 UTC) #1
Lasse Reichstein
LGTM
9 years, 6 months ago (2011-06-14 16:47:14 UTC) #2
Rico
Since constructor calls on functions without a prototype is not allowed I had to change ...
9 years, 6 months ago (2011-06-15 07:08:11 UTC) #3
Lasse Reichstein
LGTM. http://codereview.chromium.org/7148014/diff/5001/src/objects.h File src/objects.h (right): http://codereview.chromium.org/7148014/diff/5001/src/objects.h#newcode4600 src/objects.h:4600: // Indicates whether the function is a native ...
9 years, 6 months ago (2011-06-15 09:48:54 UTC) #4
Rico
9 years, 6 months ago (2011-06-15 10:34:45 UTC) #5
http://codereview.chromium.org/7148014/diff/5001/src/objects.h
File src/objects.h (right):

http://codereview.chromium.org/7148014/diff/5001/src/objects.h#newcode4600
src/objects.h:4600: // Indicates whether the function is a native function.
On 2011/06/15 09:48:54, Lasse Reichstein wrote:
> Comment is a copy of the one for native(). It needs to be rewritten to match.

Done.

Powered by Google App Engine
This is Rietveld 408576698