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

Issue 17104002: Fix a bug in instance canonicalization and add debug mode checks that we are not missing any fields. (Closed)

Created:
7 years, 6 months ago by srdjan
Modified:
7 years, 6 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Fix a bug in instance canonicalization and add debug mode checks that we are not missing any fields. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=24059

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -12 lines) Patch
M runtime/vm/object.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 3 chunks +74 lines, -12 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
srdjan
7 years, 6 months ago (2013-06-14 20:24:09 UTC) #1
siva
https://codereview.chromium.org/17104002/diff/3001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/17104002/diff/3001/runtime/vm/object.cc#newcode9241 runtime/vm/object.cc:9241: const intptr_t end_field_offset = cls.instance_size() - kWordSize; cls.instance_size() is ...
7 years, 6 months ago (2013-06-14 21:04:03 UTC) #2
srdjan
PTAL https://codereview.chromium.org/17104002/diff/3001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/17104002/diff/3001/runtime/vm/object.cc#newcode9241 runtime/vm/object.cc:9241: const intptr_t end_field_offset = cls.instance_size() - kWordSize; On ...
7 years, 6 months ago (2013-06-14 21:43:45 UTC) #3
siva
lgtm Wondering why we can not use VisitObjectPointers uniformly for all the cases. We can ...
7 years, 6 months ago (2013-06-14 22:19:49 UTC) #4
srdjan
https://codereview.chromium.org/17104002/diff/13001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/17104002/diff/13001/runtime/vm/object.cc#newcode9272 runtime/vm/object.cc:9272: Instance& result = Instance::Handle(); On 2013/06/14 22:19:49, siva wrote: ...
7 years, 6 months ago (2013-06-14 22:34:39 UTC) #5
srdjan
7 years, 6 months ago (2013-06-14 22:58:51 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r24059 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698