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

Issue 2894953002: Support inlining of calls where type arguments are passed to generic functions. (Closed)

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

Description

Support inlining of calls where type arguments are passed to generic functions. R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/b5170a8b250a367e15f4903638eb87cdbc208273

Patch Set 1 #

Total comments: 6

Patch Set 2 : work in progress #

Total comments: 2

Patch Set 3 : work in progress #

Patch Set 4 : sync and work in progress #

Patch Set 5 : prevent spill slot trashing #

Patch Set 6 : sync #

Patch Set 7 : sync #

Patch Set 8 : sync #

Patch Set 9 : work in progress #

Patch Set 10 : work in progress #

Total comments: 2

Patch Set 11 : work in progress #

Patch Set 12 : Merge branch 'master' into slave #

Total comments: 20

Patch Set 13 : address review comments #

Total comments: 8

Patch Set 14 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -177 lines) Patch
M runtime/vm/constant_propagator.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +34 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +28 lines, -14 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 17 chunks +163 lines, -138 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +9 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +15 lines, -10 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_test.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/jit_optimizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (2 generated)
regis
3 years, 7 months ago (2017-05-19 18:09:27 UTC) #2
regis
Btw, this is more a RFC than a real code review, because I am not ...
3 years, 7 months ago (2017-05-19 20:51:32 UTC) #3
Vyacheslav Egorov (Google)
https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc#newcode683 runtime/vm/flow_graph.cc:683: if ((flow_graph_->FunctionTypeArgsVar() != NULL) && Is this a mutable ...
3 years, 7 months ago (2017-05-22 11:23:21 UTC) #4
regis
https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc#newcode683 runtime/vm/flow_graph.cc:683: if ((flow_graph_->FunctionTypeArgsVar() != NULL) && On 2017/05/22 11:23:21, Vyacheslav ...
3 years, 7 months ago (2017-05-22 17:51:09 UTC) #5
regis
https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc#newcode683 runtime/vm/flow_graph.cc:683: if ((flow_graph_->FunctionTypeArgsVar() != NULL) && On 2017/05/22 17:51:08, regis ...
3 years, 7 months ago (2017-05-22 18:02:42 UTC) #6
Vyacheslav Egorov (Google)
https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc#newcode683 runtime/vm/flow_graph.cc:683: if ((flow_graph_->FunctionTypeArgsVar() != NULL) && On 2017/05/22 18:02:42, regis ...
3 years, 7 months ago (2017-05-22 18:39:44 UTC) #7
regis
On 2017/05/22 18:39:44, Vyacheslav Egorov (Google) wrote: > https://codereview.chromium.org/2894953002/diff/1/runtime/vm/flow_graph.cc > File runtime/vm/flow_graph.cc (right): > > ...
3 years, 6 months ago (2017-06-09 22:12:57 UTC) #8
Vyacheslav Egorov (Google)
https://codereview.chromium.org/2894953002/diff/20001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/2894953002/diff/20001/runtime/vm/flow_graph_inliner.cc#newcode1154 runtime/vm/flow_graph_inliner.cc:1154: for (intptr_t i = 0; i < arguments->length(); ++i) ...
3 years, 6 months ago (2017-06-12 10:52:11 UTC) #9
regis
https://codereview.chromium.org/2894953002/diff/20001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/2894953002/diff/20001/runtime/vm/flow_graph_inliner.cc#newcode1154 runtime/vm/flow_graph_inliner.cc:1154: for (intptr_t i = 0; i < arguments->length(); ++i) ...
3 years, 6 months ago (2017-06-12 20:37:35 UTC) #10
Vyacheslav Egorov (Google)
Hi Regis! I think it is a great idea to split this into several CLs. ...
3 years, 6 months ago (2017-06-13 12:03:46 UTC) #11
regis
On 2017/06/13 12:03:46, Vyacheslav Egorov (Google) wrote: > Hi Regis! > > I think it ...
3 years, 6 months ago (2017-06-13 15:55:22 UTC) #12
regis
On 2017/06/13 15:55:22, regis wrote: > On 2017/06/13 12:03:46, Vyacheslav Egorov (Google) wrote: > > ...
3 years, 5 months ago (2017-06-27 23:05:12 UTC) #13
Vyacheslav Egorov (Google)
https://codereview.chromium.org/2894953002/diff/180001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/2894953002/diff/180001/runtime/vm/flow_graph_inliner.cc#newcode1589 runtime/vm/flow_graph_inliner.cc:1589: // Replace parameter stubs and constants. Replace the receiver ...
3 years, 5 months ago (2017-06-28 14:56:03 UTC) #14
regis
Thank you very much again for your help, Slava! There is more work to do ...
3 years, 5 months ago (2017-06-28 21:04:00 UTC) #15
Vyacheslav Egorov (Google)
initial comments. See comment in flow_graph_inliner.cc for a thing that is causing the crash. https://codereview.chromium.org/2894953002/diff/220001/runtime/vm/flow_graph.cc ...
3 years, 5 months ago (2017-07-03 16:15:43 UTC) #16
regis
Thank you Slava! The error is gone! PTAL https://codereview.chromium.org/2894953002/diff/220001/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://codereview.chromium.org/2894953002/diff/220001/runtime/vm/flow_graph.cc#newcode1009 runtime/vm/flow_graph.cc:1009: // ...
3 years, 5 months ago (2017-07-05 18:41:30 UTC) #17
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2894953002/diff/240001/runtime/vm/flow_graph_allocator.cc File runtime/vm/flow_graph_allocator.cc (right): https://codereview.chromium.org/2894953002/diff/240001/runtime/vm/flow_graph_allocator.cc#newcode773 runtime/vm/flow_graph_allocator.cc:773: if ((defn->IsParameter() || is_type_args_param) && I think this ...
3 years, 5 months ago (2017-07-06 10:31:57 UTC) #18
regis
Thank you! https://codereview.chromium.org/2894953002/diff/240001/runtime/vm/flow_graph_allocator.cc File runtime/vm/flow_graph_allocator.cc (right): https://codereview.chromium.org/2894953002/diff/240001/runtime/vm/flow_graph_allocator.cc#newcode773 runtime/vm/flow_graph_allocator.cc:773: if ((defn->IsParameter() || is_type_args_param) && On 2017/07/06 ...
3 years, 5 months ago (2017-07-06 19:03:26 UTC) #19
regis
3 years, 5 months ago (2017-07-06 19:13:27 UTC) #21
Message was sent while issue was closed.
Committed patchset #14 (id:260001) manually as
b5170a8b250a367e15f4903638eb87cdbc208273 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698