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

Issue 3109002: Removed support for object literal get/set with number/string property name. (Closed)

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

Description

Removed support for object literal get/set with number/string property name. It doesn't work correctly for array indices.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -40 lines) Patch
M src/parser.cc View 1 2 chunks +3 lines, -6 lines 0 comments Download
M src/runtime.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M test/mjsunit/object-literal.js View 4 chunks +5 lines, -27 lines 0 comments Download
M test/sputnik/sputnik.status View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein
10 years, 4 months ago (2010-08-10 12:21:31 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/3109002/diff/1/2 File src/parser.cc (right): http://codereview.chromium.org/3109002/diff/1/2#newcode3590 src/parser.cc:3590: // TODO(lrn): Allow NUMBER and STRING as well ...
10 years, 4 months ago (2010-08-10 12:34:04 UTC) #2
Lasse Reichstein
10 years, 4 months ago (2010-08-10 12:44:04 UTC) #3
http://codereview.chromium.org/3109002/diff/1/2
File src/parser.cc (right):

http://codereview.chromium.org/3109002/diff/1/2#newcode3590
src/parser.cc:3590: // TODO(lrn): Allow NUMBER and STRING as well (and handle
array indices).
Done.

Powered by Google App Engine
This is Rietveld 408576698