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

Issue 11233033: Fix deletion of hidden property with inline-stored hash. (Closed)

Created:
8 years, 2 months ago by Michael Starzinger
Modified:
8 years, 2 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Fix deletion of hidden property with inline-stored hash. R=yangguo@chromium.org BUG=chromium:157124 TEST=cctest/test-api/Regress157124 Committed: https://code.google.com/p/v8/source/detail?r=12785

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments by Yang Guo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -9 lines) Patch
M src/objects.cc View 1 3 chunks +7 lines, -9 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Michael Starzinger
8 years, 2 months ago (2012-10-22 12:19:38 UTC) #1
Yang
On 2012/10/22 12:19:38, Michael Starzinger wrote: LGTM with (somewhat unrelated) comments.
8 years, 2 months ago (2012-10-22 12:35:17 UTC) #2
Yang
https://codereview.chromium.org/11233033/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/11233033/diff/1/src/objects.cc#newcode3624 src/objects.cc:3624: ASSERT(!hidden_lookup->IsFailure()); // No failure when passing false as arg. ...
8 years, 2 months ago (2012-10-22 12:35:23 UTC) #3
Michael Starzinger
8 years, 2 months ago (2012-10-22 12:45:52 UTC) #4
Addressed comments. Landing.

https://codereview.chromium.org/11233033/diff/1/src/objects.cc
File src/objects.cc (right):

https://codereview.chromium.org/11233033/diff/1/src/objects.cc#newcode3624
src/objects.cc:3624: ASSERT(!hidden_lookup->IsFailure());  // No failure when
passing false as arg.
On 2012/10/22 12:35:23, Yang wrote:
> Not your fault, but what I think what I was trying to say (lost during
> refactoring I guess) is that "No failure when merely fetching inline value".

Done. As discussed offline, the whole assertion can be removed because
ToObjectUnchecked() asserts the same condition.

https://codereview.chromium.org/11233033/diff/1/src/objects.cc#newcode3667
src/objects.cc:3667: ASSERT(!hidden_lookup->IsFailure());  // No failure when
passing false as arg.
On 2012/10/22 12:35:23, Yang wrote:
> Ditto.

Done. Likewise.

Powered by Google App Engine
This is Rietveld 408576698