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 274333002: Instance equality (Closed)

Created:
6 years, 7 months ago by koda
Modified:
6 years, 7 months ago
Reviewers:
rmacnak, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

* Rename misleading Instance::Equals to CanonicalizeEquals and document it. * Keep 'Equals' alias for String and Integer. * Add Instance::OperatorEquals that calls or mimics Object.operator==. This is partly in preparation for internalizing HashMap/Set. R=hausner@google.com, rmacnak@google.com Committed: https://code.google.com/p/dart/source/detail?r=36066

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -35 lines) Patch
M runtime/vm/exceptions_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 9 chunks +37 lines, -10 lines 4 comments Download
M runtime/vm/object.cc View 1 9 chunks +31 lines, -11 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 chunks +44 lines, -8 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/stack_frame_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/unit_test.h View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
koda
6 years, 7 months ago (2014-05-12 16:47:36 UTC) #1
hausner
LGTM w/Q https://codereview.chromium.org/274333002/diff/60001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/274333002/diff/60001/runtime/vm/object.h#newcode4136 runtime/vm/object.h:4136: // 3. CanonicalizeEquals: used to canonicalize compile-time ...
6 years, 7 months ago (2014-05-12 17:09:29 UTC) #2
rmacnak
lgtm https://codereview.chromium.org/274333002/diff/60001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/274333002/diff/60001/runtime/vm/object.h#newcode4134 runtime/vm/object.h:4134: // 1. OperatorEquals: true iff 'this == other' ...
6 years, 7 months ago (2014-05-12 17:15:17 UTC) #3
koda
https://codereview.chromium.org/274333002/diff/60001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/274333002/diff/60001/runtime/vm/object.h#newcode4134 runtime/vm/object.h:4134: // 1. OperatorEquals: true iff 'this == other' is ...
6 years, 7 months ago (2014-05-12 17:41:43 UTC) #4
koda
6 years, 7 months ago (2014-05-12 20:53:27 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r36066 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698