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

Issue 2525633003: Fix some puzzling code in object.cc. (Closed)

Created:
4 years ago by Kevin Millikin (Google)
Modified:
4 years ago
Reviewers:
Florian Schneider, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix some puzzling code in object.cc. Jens was looking through object.cc and he spotted: if (Original()) ... where it seems like Original returns a RawField* which is never 0, so it is always true. It looks like it was intended to be a call to IsOriginal(). (See https://codereview.chromium.org/1722733002/diff/120001/runtime/vm/object.cc) BUG= Committed: https://github.com/dart-lang/sdk/commit/ec84b87ebfd47c999226b1fe60630110fcdec71f

Patch Set 1 #

Patch Set 2 : Merge before committing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M runtime/vm/object.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
Kevin Millikin (Google)
As written, the function will return the owner of a copied field instead of the ...
4 years ago (2016-11-22 14:53:16 UTC) #2
Florian Schneider
On 2016/11/22 14:53:16, Kevin Millikin (Google) wrote: > As written, the function will return the ...
4 years ago (2016-11-23 17:46:35 UTC) #3
Kevin Millikin (Google)
On 2016/11/23 17:46:35, Florian Schneider wrote: > On 2016/11/22 14:53:16, Kevin Millikin (Google) wrote: > ...
4 years ago (2016-11-24 08:10:39 UTC) #4
Kevin Millikin (Google)
4 years ago (2016-11-24 08:13:15 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
ec84b87ebfd47c999226b1fe60630110fcdec71f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698