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

Issue 2988553003: Compute closure model purely from IR nodes (Closed)

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

Description

Compute closure model purely from IR nodes - and convert it to the J-model afterwards. R=efortuna@google.com Committed: https://github.com/dart-lang/sdk/commit/6e280fc4f441d21ced2590cd3f7097c5dc22889f

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -81 lines) Patch
M pkg/compiler/lib/src/js_model/closure.dart View 1 11 chunks +136 lines, -46 lines 0 comments Download
M pkg/compiler/lib/src/js_model/closure_visitors.dart View 5 chunks +25 lines, -35 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Johnni Winther
3 years, 5 months ago (2017-07-21 18:33:27 UTC) #2
Emily Fortuna
lgtm https://codereview.chromium.org/2988553003/diff/1/pkg/compiler/lib/src/js_model/closure.dart File pkg/compiler/lib/src/js_model/closure.dart (right): https://codereview.chromium.org/2988553003/diff/1/pkg/compiler/lib/src/js_model/closure.dart#newcode69 pkg/compiler/lib/src/js_model/closure.dart:69: // TODO(johnniwinther,efortuna): Compute this during resolution. see also ...
3 years, 4 months ago (2017-07-26 18:04:23 UTC) #3
Johnni Winther
Committed patchset #2 (id:20001) manually as 6e280fc4f441d21ced2590cd3f7097c5dc22889f (presubmit successful).
3 years, 4 months ago (2017-07-28 13:48:58 UTC) #5
Johnni Winther
3 years, 4 months ago (2017-08-02 08:03:14 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2988553003/diff/1/pkg/compiler/lib/src/js_mod...
File pkg/compiler/lib/src/js_model/closure.dart (right):

https://codereview.chromium.org/2988553003/diff/1/pkg/compiler/lib/src/js_mod...
pkg/compiler/lib/src/js_model/closure.dart:69: // TODO(johnniwinther,efortuna):
Compute this during resolution.
On 2017/07/26 18:04:23, Emily Fortuna wrote:
> see also the existing documentation on convertClosures

Done.

https://codereview.chromium.org/2988553003/diff/1/pkg/compiler/lib/src/js_mod...
pkg/compiler/lib/src/js_model/closure.dart:500: /// Collection [ScopeInfo] data
for the member, if any.
On 2017/07/26 18:04:23, Emily Fortuna wrote:
> please add clarification in this comment for the "not any" case and also the
> scopeInfo's relation to the member. Is this the scope[info] in which this
member
> is defined?

The 'not any' case seems to be an inconsistency in the skipping of fields
without initializers, added a TODO.

https://codereview.chromium.org/2988553003/diff/1/pkg/compiler/lib/src/js_mod...
pkg/compiler/lib/src/js_model/closure.dart:507: /// Collected [ScopeInof] data
for nodes.
On 2017/07/26 18:04:22, Emily Fortuna wrote:
> ScopeInof->ScopeInfo

Done.

Powered by Google App Engine
This is Rietveld 408576698