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

Issue 3920005: Fix GC error in ES5 read-only properties implementation. (Closed)

Created:
10 years, 2 months ago by Erik Corry
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix GC error in ES5 read-only properties implementation. Committed: http://code.google.com/p/v8/source/detail?r=5676

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -5 lines) Patch
M src/handles.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/handles.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
A test/mjsunit/define-property-gc.js View 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Erik Corry
10 years, 2 months ago (2010-10-20 12:00:52 UTC) #1
Søren Thygesen Gjesse
LGTM
10 years, 2 months ago (2010-10-20 12:07:36 UTC) #2
Kevin Millikin (Chromium)
Drive by. http://codereview.chromium.org/3920005/diff/1/2 File src/runtime.cc (right): http://codereview.chromium.org/3920005/diff/1/2#newcode3541 src/runtime.cc:3541: Object* ok = js_object->NormalizeElements(); I really don't ...
10 years, 2 months ago (2010-10-20 12:35:55 UTC) #3
Erik Corry
It's already committed.
10 years, 2 months ago (2010-10-20 12:49:42 UTC) #4
Erik Corry
Oh, it wasn't committed after all. New version uploaded.
10 years, 2 months ago (2010-10-20 13:12:01 UTC) #5
Kevin Millikin (Chromium)
10 years, 2 months ago (2010-10-20 13:16:51 UTC) #6
http://codereview.chromium.org/3920005/diff/7001/8003
File src/runtime.cc (right):

http://codereview.chromium.org/3920005/diff/7001/8003#newcode4158
src/runtime.cc:4158: if (ok->IsFailure()) return ok;
You can do the same trick here (use the handle version of NormalizeProperties).

Powered by Google App Engine
This is Rietveld 408576698