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

Issue 11191039: Issue 2368: LiveEdit crashes when new object/array literal is added (Closed)

Created:
8 years, 2 months ago by Peter Rybin
Modified:
8 years, 1 month ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Issue 2368: LiveEdit crashes when new object/array literal is added Committed: https://code.google.com/p/v8/source/detail?r=12952

Patch Set 1 #

Patch Set 2 : test #

Patch Set 3 : format #

Patch Set 4 : style #

Total comments: 14

Patch Set 5 : follow code review #

Total comments: 2

Patch Set 6 : follow codereview #

Patch Set 7 : style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -3 lines) Patch
M src/liveedit.cc View 1 2 3 4 5 6 7 chunks +136 lines, -3 lines 0 comments Download
A test/mjsunit/debug-liveedit-literals.js View 1 2 3 4 1 chunk +94 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Peter Rybin
8 years, 2 months ago (2012-10-17 22:23:27 UTC) #1
Yang
LGTM if comments are addressed. http://codereview.chromium.org/11191039/diff/6001/src/liveedit.cc File src/liveedit.cc (right): http://codereview.chromium.org/11191039/diff/6001/src/liveedit.cc#newcode1056 src/liveedit.cc:1056: FindJSFunctions(shared_info, result); Running twice ...
8 years, 2 months ago (2012-10-23 16:10:30 UTC) #2
Peter Rybin
http://codereview.chromium.org/11191039/diff/6001/src/liveedit.cc File src/liveedit.cc (right): http://codereview.chromium.org/11191039/diff/6001/src/liveedit.cc#newcode1056 src/liveedit.cc:1056: FindJSFunctions(shared_info, result); On 2012/10/23 16:10:31, Yang wrote: > Running ...
8 years, 1 month ago (2012-11-11 03:28:47 UTC) #3
Peter Rybin
Yang, first I wanted to insist on my approach of 2 heap iterations (see inline ...
8 years, 1 month ago (2012-11-12 13:58:37 UTC) #4
Yang
8 years, 1 month ago (2012-11-12 14:40:57 UTC) #5
LGTM, but some suggestions for naming.

http://codereview.chromium.org/11191039/diff/11001/src/liveedit.cc
File src/liveedit.cc (right):

http://codereview.chromium.org/11191039/diff/11001/src/liveedit.cc#newcode1045
src/liveedit.cc:1045: IterateJSFunctions(*shared_info, &processor);
We usually call this kind of callback *Visitor, as in ClearValuesVisitor. Just
for consistency's sake.

http://codereview.chromium.org/11191039/diff/11001/src/liveedit.cc#newcode1079
src/liveedit.cc:1079: template<typename PROCESSOR>
I think we usually use lowercase for typename. Also, visitor :)

Powered by Google App Engine
This is Rietveld 408576698