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

Issue 7289011: Fix a bug in Object.defineProperty. (Closed)

Created:
9 years, 5 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix a bug in Object.defineProperty. There was a bug in Object.defineProperty when used to add an indexed property to an arguments object. When converting the elements backing store to dictionary mode, the parameter map in front of the backing store does not change. R=ager@chromium.org,karlklose@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=8481

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -6 lines) Patch
M src/handles.h View 1 chunk +1 line, -1 line 0 comments Download
M src/handles.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/runtime.cc View 1 chunk +1 line, -2 lines 2 comments Download
A test/mjsunit/regress/regress-1513.js View 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
9 years, 5 months ago (2011-06-30 10:03:51 UTC) #1
Karl Klose
LGTM with one more place to fix. http://codereview.chromium.org/7289011/diff/1/src/runtime.cc File src/runtime.cc (right): http://codereview.chromium.org/7289011/diff/1/src/runtime.cc#newcode3984 src/runtime.cc:3984: Handle<NumberDictionary> dictionary(js_object->element_dictionary()); ...
9 years, 5 months ago (2011-06-30 11:08:41 UTC) #2
Kevin Millikin (Chromium)
9 years, 5 months ago (2011-06-30 11:09:25 UTC) #3
http://codereview.chromium.org/7289011/diff/1/src/runtime.cc
File src/runtime.cc (right):

http://codereview.chromium.org/7289011/diff/1/src/runtime.cc#newcode3984
src/runtime.cc:3984: Handle<NumberDictionary>
dictionary(js_object->element_dictionary());
On 2011/06/30 11:08:41, Karl Klose wrote:
> Please change this call too.

Good eye!

Powered by Google App Engine
This is Rietveld 408576698