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

Issue 3007603002: [VM generic function reification] Support generic functions in Invocation class. (Closed)

Created:
3 years, 3 months ago by regis
Modified:
3 years, 3 months ago
Reviewers:
rmacnak, floitsch
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[VM generic function reification] Support generic functions in Invocation class. Make VM object TypeArguments a Dart instance. Add a test verifying that noSuchMethod works with generic functions. R=floitsch@google.com, rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/b3a7dd6e9dfab327a2ef4bb3ef729b4ba8661471

Patch Set 1 #

Total comments: 2

Patch Set 2 : address review comment and sync #

Total comments: 2

Patch Set 3 : address review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+437 lines, -284 lines) Patch
M runtime/lib/invocation_mirror_patch.dart View 4 chunks +31 lines, -7 lines 0 comments Download
M runtime/lib/object.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/class_table.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/dart_entry.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/isolate_reload.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 3 chunks +13 lines, -5 lines 0 comments Download
M runtime/vm/native_entry.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 2 chunks +217 lines, -217 lines 0 comments Download
M runtime/vm/object.cc View 1 3 chunks +15 lines, -1 line 0 comments Download
M runtime/vm/object_graph.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/parser.cc View 1 chunk +10 lines, -5 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 5 chunks +9 lines, -5 lines 0 comments Download
M runtime/vm/raw_object.h View 1 4 chunks +32 lines, -32 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/verifier.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
A tests/language_2/generic_no_such_method_dispatcher_test.dart View 1 chunk +71 lines, -0 lines 0 comments Download
M tests/language_2/language_2_dart2js.status View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language_2/language_2_kernel.status View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
regis
3 years, 3 months ago (2017-08-26 00:14:55 UTC) #2
floitsch
API changes LGTM.
3 years, 3 months ago (2017-08-28 09:00:29 UTC) #3
rmacnak
https://codereview.chromium.org/3007603002/diff/1/runtime/vm/raw_object.h File runtime/vm/raw_object.h (right): https://codereview.chromium.org/3007603002/diff/1/runtime/vm/raw_object.h#newcode22 runtime/vm/raw_object.h:22: V(TypeArguments) \ This should appear after Instance to maintain ...
3 years, 3 months ago (2017-08-28 18:29:46 UTC) #4
regis
PTAL https://codereview.chromium.org/3007603002/diff/1/runtime/vm/raw_object.h File runtime/vm/raw_object.h (right): https://codereview.chromium.org/3007603002/diff/1/runtime/vm/raw_object.h#newcode22 runtime/vm/raw_object.h:22: V(TypeArguments) \ On 2017/08/28 18:29:46, rmacnak wrote: > ...
3 years, 3 months ago (2017-08-28 23:32:08 UTC) #5
rmacnak
lgtm https://codereview.chromium.org/3007603002/diff/20001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/3007603002/diff/20001/runtime/vm/precompiler.cc#newcode1162 runtime/vm/precompiler.cc:1162: if (subinstance_.IsInstance() && !subinstance_.IsTypeArguments()) { This should do ...
3 years, 3 months ago (2017-08-28 23:48:58 UTC) #6
regis
Thanks! https://codereview.chromium.org/3007603002/diff/20001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/3007603002/diff/20001/runtime/vm/precompiler.cc#newcode1162 runtime/vm/precompiler.cc:1162: if (subinstance_.IsInstance() && !subinstance_.IsTypeArguments()) { On 2017/08/28 23:48:58, ...
3 years, 3 months ago (2017-08-28 23:56:58 UTC) #7
regis
3 years, 3 months ago (2017-08-29 00:00:45 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
b3a7dd6e9dfab327a2ef4bb3ef729b4ba8661471 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698