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

Issue 2963983002: Further splitting of inference type-info (Closed)

Created:
3 years, 5 months ago by Johnni Winther
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 4

Patch Set 3 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -158 lines) Patch
M pkg/compiler/lib/src/inferrer/builder.dart View 4 chunks +11 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/inferrer_engine.dart View 1 10 chunks +60 lines, -39 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/node_tracer.dart View 2 chunks +8 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_dump.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_nodes.dart View 1 33 chunks +224 lines, -97 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_system.dart View 1 2 2 chunks +25 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Johnni Winther
3 years, 5 months ago (2017-06-29 16:51:02 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2963983002/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart File pkg/compiler/lib/src/inferrer/type_graph_nodes.dart (right): https://codereview.chromium.org/2963983002/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart#newcode1809 pkg/compiler/lib/src/inferrer/type_graph_nodes.dart:1809: // 'LocalFunctionElement.callMethod' is used as key for at ...
3 years, 5 months ago (2017-06-29 21:24:50 UTC) #3
Johnni Winther
Committed patchset #3 (id:40001) manually as ee04f3dc5f414bd8cda4451e680a084ffbc75cdf (presubmit successful).
3 years, 5 months ago (2017-06-30 07:52:28 UTC) #5
Johnni Winther
3 years, 5 months ago (2017-06-30 07:55:31 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2963983002/diff/20001/pkg/compiler/lib/src/in...
File pkg/compiler/lib/src/inferrer/type_graph_nodes.dart (right):

https://codereview.chromium.org/2963983002/diff/20001/pkg/compiler/lib/src/in...
pkg/compiler/lib/src/inferrer/type_graph_nodes.dart:1809: //
'LocalFunctionElement.callMethod' is used as key for
On 2017/06/29 21:24:49, Siggi Cherem (dart-lang) wrote:
> at that point, would we even have a ClosureTypeInformatin? Woudln't the .call
> method just be a method?

ClosureTypeInformation is (as far as I can see) used for multiple purposes...

https://codereview.chromium.org/2963983002/diff/20001/pkg/compiler/lib/src/in...
File pkg/compiler/lib/src/inferrer/type_system.dart (right):

https://codereview.chromium.org/2963983002/diff/20001/pkg/compiler/lib/src/in...
pkg/compiler/lib/src/inferrer/type_system.dart:435: TypeInformation
allocateClosureForMethod(
On 2017/06/29 21:24:49, Siggi Cherem (dart-lang) wrote:
> +dartdoc here and above?
> 
> I'm not sure about the two names here and their intent. Seeing the use sites
it
> seems to me that the above is really about creating closures associated with
> function expressions and local function declarations, and this one here comes
> from a tear-off of a method for a constant. Is that correct?
> 

That is my understanding, too.

Powered by Google App Engine
This is Rietveld 408576698