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

Issue 10535011: Remove one more case behind --es5_readonly flag. (Closed)

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

Description

Remove one more case behind --es5_readonly flag. Plus add a couple of assertions. R=mstarzinger@chromium.org BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=11719

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressed Michael's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M src/hydrogen.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/with-readonly.js View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
rossberg
8 years, 6 months ago (2012-06-05 16:45:27 UTC) #1
Michael Starzinger
8 years, 6 months ago (2012-06-05 16:51:14 UTC) #2
LGTM (if one nit is addressed).

https://chromiumcodereview.appspot.com/10535011/diff/1/src/objects.cc
File src/objects.cc (right):

https://chromiumcodereview.appspot.com/10535011/diff/1/src/objects.cc#newcode...
src/objects.cc:2555: ASSERT(result->type() != INTERCEPTOR);
Can we move that out of into one line doing just the assertion. Like this:

ASSERT(!result->IsProperty() || result->type() != INTERCEPTOR);

Powered by Google App Engine
This is Rietveld 408576698