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

Issue 7324048: Fix a potential crash in const declaration. (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 potential crash in const declaration. Declaration of const lookup slots would trigger an assertion if there was a setter somewhere in the prototype chain, and that setter was shadowed by a non-readonly data property also in the prototype chain. R=ager@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=8602

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -11 lines) Patch
M src/objects.cc View 2 chunks +7 lines, -11 lines 0 comments Download
A test/mjsunit/regress/regress-88591.js View 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Kevin Millikin (Chromium)
9 years, 5 months ago (2011-07-11 12:25:17 UTC) #1
Mads Ager (chromium)
9 years, 5 months ago (2011-07-11 12:46:50 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698