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

Issue 63010: Fix crash with indexed setter on objects without corresponding getter. (Closed)

Created:
11 years, 8 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix crash with indexed setter on objects without corresponding getter. Committed: http://code.google.com/p/v8/source/detail?r=1678

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M src/objects.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M test/mjsunit/indexed-accessors.js View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
William Hesse
11 years, 8 months ago (2009-04-06 14:27:20 UTC) #1
Søren Thygesen Gjesse
11 years, 8 months ago (2009-04-06 14:34:11 UTC) #2
LGTM!

http://codereview.chromium.org/63010/diff/1/3
File src/objects.cc (right):

http://codereview.chromium.org/63010/diff/1/3#newcode5524
Line 5524: } else {
Perhaps add the comment "// Getter is not a function." (same as for the named
property case).

http://codereview.chromium.org/63010/diff/1/2
File test/mjsunit/indexed-accessors.js (right):

http://codereview.chromium.org/63010/diff/1/2#newcode117
Line 117: if(a|= ''){}
Please add space on both sides of the '('.

Powered by Google App Engine
This is Rietveld 408576698