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

Issue 2858513002: Add BackendStrategy (Closed)

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

Description

Add BackendStrategy This strategy pattern defines the element model used in type inference and codegen. This allows for creating an element model for the backend that is different from the frontend model. R=efortuna@google.com, sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/08474aecdfb90db76726518d6f4e1cdfa807a28f

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 3

Patch Set 3 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -5 lines) Patch
A pkg/compiler/lib/src/backend_strategy.dart View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 2 5 chunks +12 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/kernel/kernel_strategy.dart View 1 2 3 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Johnni Winther
3 years, 7 months ago (2017-05-02 08:57:01 UTC) #2
Emily Fortuna
lgtm https://codereview.chromium.org/2858513002/diff/20001/pkg/compiler/lib/src/backend_strategy.dart File pkg/compiler/lib/src/backend_strategy.dart (right): https://codereview.chromium.org/2858513002/diff/20001/pkg/compiler/lib/src/backend_strategy.dart#newcode18 pkg/compiler/lib/src/backend_strategy.dart:18: void createClosureClasses(ClosedWorldRefiner closedWorldRefiner); this name is still in ...
3 years, 7 months ago (2017-05-02 18:06:40 UTC) #4
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2858513002/diff/20001/pkg/compiler/lib/src/backend_strategy.dart File pkg/compiler/lib/src/backend_strategy.dart (right): https://codereview.chromium.org/2858513002/diff/20001/pkg/compiler/lib/src/backend_strategy.dart#newcode18 pkg/compiler/lib/src/backend_strategy.dart:18: void createClosureClasses(ClosedWorldRefiner closedWorldRefiner); On 2017/05/02 18:06:39, Emily Fortuna ...
3 years, 7 months ago (2017-05-02 20:13:17 UTC) #5
Johnni Winther
Committed patchset #3 (id:40001) manually as 08474aecdfb90db76726518d6f4e1cdfa807a28f (presubmit successful).
3 years, 7 months ago (2017-05-03 08:24:51 UTC) #7
Johnni Winther
3 years, 7 months ago (2017-05-03 08:25:44 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/2858513002/diff/20001/pkg/compiler/lib/src/ba...
File pkg/compiler/lib/src/backend_strategy.dart (right):

https://codereview.chromium.org/2858513002/diff/20001/pkg/compiler/lib/src/ba...
pkg/compiler/lib/src/backend_strategy.dart:18: void
createClosureClasses(ClosedWorldRefiner closedWorldRefiner);
On 2017/05/02 18:06:39, Emily Fortuna wrote:
> this name is still in line with the "old way" of thinking about creating
> closures in terms of fake elements. Perhaps we should just call this function
> "rewriteClosures" or "convertClosures" or something instead?

[convertClosures] it is.

Powered by Google App Engine
This is Rietveld 408576698