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

Issue 9108036: - Remove redundant initialization in Array::New (Closed)

Created:
8 years, 11 months ago by siva
Modified:
8 years, 11 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Remove redundant initialization in Array::New - Add timer for measuing isolate initialization Committed: https://code.google.com/p/dart/source/detail?r=3063

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -8 lines) Patch
M vm/dart.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M vm/object.cc View 1 2 2 chunks +0 lines, -8 lines 0 comments Download
M vm/timer.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
siva
8 years, 11 months ago (2012-01-06 02:33:52 UTC) #1
Ivan Posva
LGTM with comment. -Ivan http://codereview.chromium.org/9108036/diff/1/vm/object.cc File vm/object.cc (right): http://codereview.chromium.org/9108036/diff/1/vm/object.cc#newcode5281 vm/object.cc:5281: while (offset < instance_size) { ...
8 years, 11 months ago (2012-01-06 21:40:05 UTC) #2
siva
8 years, 11 months ago (2012-01-07 00:01:02 UTC) #3
http://codereview.chromium.org/9108036/diff/1/vm/object.cc
File vm/object.cc (right):

http://codereview.chromium.org/9108036/diff/1/vm/object.cc#newcode5281
vm/object.cc:5281: while (offset < instance_size) {
Good point. Done.

On 2012/01/06 21:40:05, Ivan Posva wrote:
> This could be dropped as well.

http://codereview.chromium.org/9108036/diff/1/vm/object.cc#newcode7115
vm/object.cc:7115: // Object::Allocate has already initialized the allocated
area.
On 2012/01/06 21:40:05, Ivan Posva wrote:
> Comment can be dropped, no?

Done.

Powered by Google App Engine
This is Rietveld 408576698