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

Issue 1284463003: dart2js: Also trace instances of Function as closures. (Closed)

Created:
5 years, 4 months ago by herhut
Modified:
5 years, 4 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Consider tear off of statics (like super.foo). #

Total comments: 4

Patch Set 3 : fix dynamic type #

Patch Set 4 : Undo change to closure_tracer.dart #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -6 lines) Patch
M pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart View 1 2 4 chunks +36 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
herhut
5 years, 4 months ago (2015-08-10 10:46:36 UTC) #1
herhut
This does not fix the bug but at least the compiler now considers the call ...
5 years, 4 months ago (2015-08-10 10:47:44 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/1284463003/diff/1/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart File pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/1284463003/diff/1/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart#newcode683 pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart:683: void trace(Iterable<FunctionElement> elements, new line before and after ...
5 years, 4 months ago (2015-08-10 15:39:52 UTC) #3
herhut
https://codereview.chromium.org/1284463003/diff/1/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart File pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/1284463003/diff/1/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart#newcode683 pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart:683: void trace(Iterable<FunctionElement> elements, On 2015/08/10 15:39:51, floitsch wrote: > ...
5 years, 4 months ago (2015-08-11 08:35:21 UTC) #4
herhut
Committed patchset #1 (id:1) manually as 0973b09aa0056558ba7db385ab96418f5ccd6483 (presubmit successful).
5 years, 4 months ago (2015-08-11 08:36:04 UTC) #5
herhut
PTAL I forgot to take tear-offs of statics into account... https://codereview.chromium.org/1284463003/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart File pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/1284463003/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart#newcode26 ...
5 years, 4 months ago (2015-08-11 11:00:30 UTC) #6
floitsch
LGTM. https://codereview.chromium.org/1284463003/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart File pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/1284463003/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart#newcode741 pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart:741: Iterable<FunctionElement> elements = info.callees The static type of ...
5 years, 4 months ago (2015-08-11 11:41:13 UTC) #7
herhut
https://codereview.chromium.org/1284463003/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart File pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/1284463003/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart#newcode741 pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart:741: Iterable<FunctionElement> elements = info.callees On 2015/08/11 11:41:13, floitsch wrote: ...
5 years, 4 months ago (2015-08-12 09:34:41 UTC) #8
herhut
5 years, 4 months ago (2015-08-12 09:38:07 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
4ad2092516377b6e7f33c7d766b3938ac612bdfd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698