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

Issue 2860163003: Avoid triggering an assert (Closed)

Created:
3 years, 7 months ago by Kevin Millikin (Google)
Modified:
3 years, 7 months ago
Reviewers:
zra, rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Avoid triggering an assert Child::operator= has an assert that it does not overwrite a non-null pointer. Avoid triggering the assert by casting to another type. BUG= R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/92cc26eb7a466be183a3850255457b42f8d0f897

Patch Set 1 #

Total comments: 1

Patch Set 2 : Incorporate review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M runtime/vm/kernel.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M runtime/vm/kernel_reader.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Kevin Millikin (Google)
3 years, 7 months ago (2017-05-04 20:32:12 UTC) #2
zra
https://codereview.chromium.org/2860163003/diff/1/runtime/vm/kernel_reader.cc File runtime/vm/kernel_reader.cc (right): https://codereview.chromium.org/2860163003/diff/1/runtime/vm/kernel_reader.cc#newcode218 runtime/vm/kernel_reader.cc:218: delete procedure->function()->body(); To avoid the hack in set_body, maybe ...
3 years, 7 months ago (2017-05-04 20:51:09 UTC) #3
zra
lgtm
3 years, 7 months ago (2017-05-04 21:28:49 UTC) #4
Kevin Millikin (Google)
Thanks for the suggestion. Please take another look.
3 years, 7 months ago (2017-05-04 21:29:10 UTC) #5
Kevin Millikin (Google)
3 years, 7 months ago (2017-05-04 21:29:47 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
92cc26eb7a466be183a3850255457b42f8d0f897 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698