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

Issue 12385076: Infer types of catpured variables and use the types in the SSA builder. (Closed)

Created:
7 years, 9 months ago by ngeoffray
Modified:
7 years, 9 months ago
Reviewers:
karlklose, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Infer types of catpured variables and use the types in the SSA builder. Committed: https://code.google.com/p/dart/source/detail?r=19455

Patch Set 1 : #

Total comments: 10

Patch Set 2 : #

Total comments: 2

Messages

Total messages: 6 (0 generated)
ngeoffray
7 years, 9 months ago (2013-03-04 22:39:53 UTC) #1
kasperl
LGTM. https://codereview.chromium.org/12385076/diff/17/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (right): https://codereview.chromium.org/12385076/diff/17/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode832 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:832: // a previous closure. Note that analyzing multiple ...
7 years, 9 months ago (2013-03-05 08:26:44 UTC) #2
ngeoffray
Thanks Kasper. https://codereview.chromium.org/12385076/diff/17/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (right): https://codereview.chromium.org/12385076/diff/17/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode832 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:832: // a previous closure. Note that analyzing ...
7 years, 9 months ago (2013-03-05 09:02:31 UTC) #3
ngeoffray
Committed patchset #2 manually as r19455 (presubmit successful).
7 years, 9 months ago (2013-03-05 09:45:57 UTC) #4
karlklose
https://codereview.chromium.org/12385076/diff/15001/sdk/lib/_internal/compiler/implementation/closure.dart File sdk/lib/_internal/compiler/implementation/closure.dart (right): https://codereview.chromium.org/12385076/diff/15001/sdk/lib/_internal/compiler/implementation/closure.dart#newcode212 sdk/lib/_internal/compiler/implementation/closure.dart:212: void forEachBoxedVariable(void f(Element element)) { Is this function used?
7 years, 9 months ago (2013-03-05 09:57:24 UTC) #5
ngeoffray
7 years, 9 months ago (2013-03-05 10:18:45 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/12385076/diff/15001/sdk/lib/_internal/compile...
File sdk/lib/_internal/compiler/implementation/closure.dart (right):

https://codereview.chromium.org/12385076/diff/15001/sdk/lib/_internal/compile...
sdk/lib/_internal/compiler/implementation/closure.dart:212: void
forEachBoxedVariable(void f(Element element)) {
On 2013/03/05 09:57:24, karlklose wrote:
> Is this function used?

No, but I'd like to come up with some abstractions on top of the closure data.
Users of closure data are looking into its fields, and it does not help
readability.

Powered by Google App Engine
This is Rietveld 408576698