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

Issue 23460013: Implement InstanceMirror.== in dart2js and InstanceMirror.hashCode in the VM and … (Closed)

Created:
7 years, 3 months ago by rmacnak
Modified:
7 years, 3 months ago
Reviewers:
ahe, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Michael Lippautz (Google)
Visibility:
Public.

Description

Implement InstanceMirror.== in dart2js and InstanceMirror.hashCode in the VM and dart2js. BUG=http://dartbug.com/12909 BUG=http://dartbug.com/12919 R=ahe@google.com, asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=27075

Patch Set 1 : #

Total comments: 7

Patch Set 2 : address comments #

Patch Set 3 : merge with parent, split test #

Total comments: 1

Patch Set 4 : rebase, xor reflectee's hash #

Total comments: 5

Patch Set 5 : use isolate parameter to native #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -13 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 1 chunk +15 lines, -2 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/symbols.h View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/lib/js_mirrors.dart View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + tests/lib/mirrors/equality_dart2js_test.dart View 1 2 4 chunks +33 lines, -8 lines 0 comments Download
M tests/lib/mirrors/equality_test.dart View 1 2 3 chunks +32 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rmacnak
Waiting on https://chromiumcodereview.appspot.com/23657002/. Will split test to cover VM and dart2js.
7 years, 3 months ago (2013-08-30 20:23:58 UTC) #1
ahe
Test and dart2js, LGTM! https://chromiumcodereview.appspot.com/23460013/diff/3001/sdk/lib/_internal/lib/js_mirrors.dart File sdk/lib/_internal/lib/js_mirrors.dart (right): https://chromiumcodereview.appspot.com/23460013/diff/3001/sdk/lib/_internal/lib/js_mirrors.dart#newcode33 sdk/lib/_internal/lib/js_mirrors.dart:33: getInterceptor; I think you can ...
7 years, 3 months ago (2013-08-30 20:40:14 UTC) #2
rmacnak
https://chromiumcodereview.appspot.com/23460013/diff/3001/sdk/lib/_internal/lib/js_mirrors.dart File sdk/lib/_internal/lib/js_mirrors.dart (right): https://chromiumcodereview.appspot.com/23460013/diff/3001/sdk/lib/_internal/lib/js_mirrors.dart#newcode33 sdk/lib/_internal/lib/js_mirrors.dart:33: getInterceptor; On 2013/08/30 20:40:14, ahe wrote: > I think ...
7 years, 3 months ago (2013-08-30 21:08:29 UTC) #3
ahe
https://chromiumcodereview.appspot.com/23460013/diff/3001/tests/lib/mirrors/equality_test.dart File tests/lib/mirrors/equality_test.dart (right): https://chromiumcodereview.appspot.com/23460013/diff/3001/tests/lib/mirrors/equality_test.dart#newcode60 tests/lib/mirrors/equality_test.dart:60: checkEquality([ On 2013/08/30 21:08:29, Ryan Macnak wrote: > On ...
7 years, 3 months ago (2013-08-30 21:11:13 UTC) #4
rmacnak
Merged with committed parent CL and split test to keep dart2js covered.
7 years, 3 months ago (2013-08-30 22:32:06 UTC) #5
ahe
Everything but the C++ code, LGTM! https://chromiumcodereview.appspot.com/23460013/diff/13001/sdk/lib/_internal/lib/js_mirrors.dart File sdk/lib/_internal/lib/js_mirrors.dart (right): https://chromiumcodereview.appspot.com/23460013/diff/13001/sdk/lib/_internal/lib/js_mirrors.dart#newcode694 sdk/lib/_internal/lib/js_mirrors.dart:694: : Primitives.objectHashCode(reflectee); I ...
7 years, 3 months ago (2013-09-03 13:05:58 UTC) #6
rmacnak
On 2013/09/03 13:05:58, ahe wrote: > Everything but the C++ code, LGTM! > > https://chromiumcodereview.appspot.com/23460013/diff/13001/sdk/lib/_internal/lib/js_mirrors.dart ...
7 years, 3 months ago (2013-09-03 17:59:47 UTC) #7
siva
lgtm https://chromiumcodereview.appspot.com/23460013/diff/19001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://chromiumcodereview.appspot.com/23460013/diff/19001/runtime/lib/mirrors.cc#newcode756 runtime/lib/mirrors.cc:756: ObjectStore* object_store = Isolate::Current()->object_store(); You should be able ...
7 years, 3 months ago (2013-09-03 19:43:42 UTC) #8
rmacnak
https://chromiumcodereview.appspot.com/23460013/diff/19001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://chromiumcodereview.appspot.com/23460013/diff/19001/runtime/lib/mirrors.cc#newcode756 runtime/lib/mirrors.cc:756: ObjectStore* object_store = Isolate::Current()->object_store(); On 2013/09/03 19:43:43, siva wrote: ...
7 years, 3 months ago (2013-09-03 20:10:54 UTC) #9
rmacnak
7 years, 3 months ago (2013-09-03 20:11:18 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 manually as r27075 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698