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

Issue 10386086: RFC: Start refactoring to provide more than a single backend. (Closed)

Created:
8 years, 7 months ago by Anton Muhin
Modified:
8 years, 7 months ago
Reviewers:
ahe, floitsch, ngeoffray, kasperl
CC:
ngeoffray, Lasse Reichstein Nielsen, karlklose, polux
Visibility:
Public.

Description

RFC: Start refactoring to provide more than a single backend. Committed: https://code.google.com/p/dart/source/detail?r=7667

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Next iteration #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -93 lines) Patch
M lib/compiler/implementation/compiler.dart View 1 2 3 6 chunks +52 lines, -28 lines 0 comments Download
M lib/compiler/implementation/emitter.dart View 1 2 3 3 chunks +6 lines, -7 lines 2 comments Download
M lib/compiler/implementation/native_emitter.dart View 1 2 3 5 chunks +7 lines, -5 lines 0 comments Download
M lib/compiler/implementation/native_handler.dart View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M lib/compiler/implementation/ssa/builder.dart View 1 2 3 5 chunks +14 lines, -11 lines 0 comments Download
M lib/compiler/implementation/ssa/closure.dart View 1 2 3 2 chunks +8 lines, -5 lines 0 comments Download
M lib/compiler/implementation/ssa/codegen.dart View 1 2 3 11 chunks +20 lines, -17 lines 0 comments Download
M lib/compiler/implementation/ssa/optimize.dart View 1 2 3 9 chunks +18 lines, -13 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Anton Muhin
Peter and Kasper, that's RFC to discuss the general approach for embedding dart backend into ...
8 years, 7 months ago (2012-05-11 05:45:42 UTC) #1
ahe
LGTM, but please wait for at least one LGTM from Kasper, Florian, or Nicolas. https://chromiumcodereview.appspot.com/10386086/diff/1/lib/compiler/implementation/compiler.dart ...
8 years, 7 months ago (2012-05-11 11:39:48 UTC) #2
ngeoffray
LGTM, with Peter's comments. Welcome aboard Anton!
8 years, 7 months ago (2012-05-11 12:43:30 UTC) #3
floitsch
I wanted to move the backend related code out of the compiler for a long ...
8 years, 7 months ago (2012-05-11 13:51:04 UTC) #4
Anton Muhin
Thanks a lot for both feedback and welcome. Next iteration. Principal change is I moved ...
8 years, 7 months ago (2012-05-12 15:48:43 UTC) #5
ngeoffray
https://chromiumcodereview.appspot.com/10386086/diff/1/lib/compiler/implementation/ssa/builder.dart File lib/compiler/implementation/ssa/builder.dart (right): https://chromiumcodereview.appspot.com/10386086/diff/1/lib/compiler/implementation/ssa/builder.dart#newcode784 lib/compiler/implementation/ssa/builder.dart:784: interceptors = compiler.backend.builder.interceptors, On 2012/05/12 15:48:43, antonmuhin wrote: > ...
8 years, 7 months ago (2012-05-13 17:02:47 UTC) #6
kasperl
LGTM. I would look at caching compiler.backend.emitter etc. in a few places to avoid these ...
8 years, 7 months ago (2012-05-14 06:31:27 UTC) #7
ahe
On 2012/05/14 06:31:27, kasperl wrote: > LGTM. I would look at caching compiler.backend.emitter etc. in ...
8 years, 7 months ago (2012-05-14 08:11:35 UTC) #8
ahe
On 2012/05/14 08:11:35, ahe wrote: > On 2012/05/14 06:31:27, kasperl wrote: > > LGTM. I ...
8 years, 7 months ago (2012-05-14 08:13:33 UTC) #9
ahe
Still LGTM! https://chromiumcodereview.appspot.com/10386086/diff/8/lib/compiler/implementation/compiler.dart File lib/compiler/implementation/compiler.dart (right): https://chromiumcodereview.appspot.com/10386086/diff/8/lib/compiler/implementation/compiler.dart#newcode30 lib/compiler/implementation/compiler.dart:30: class JavaScriptBackend implements Backend { Consider creating ...
8 years, 7 months ago (2012-05-14 08:14:30 UTC) #10
Anton Muhin
PTAL https://chromiumcodereview.appspot.com/10386086/diff/1/lib/compiler/implementation/ssa/builder.dart File lib/compiler/implementation/ssa/builder.dart (right): https://chromiumcodereview.appspot.com/10386086/diff/1/lib/compiler/implementation/ssa/builder.dart#newcode784 lib/compiler/implementation/ssa/builder.dart:784: interceptors = compiler.backend.builder.interceptors, Thanks a lot for explanation, ...
8 years, 7 months ago (2012-05-14 14:36:45 UTC) #11
floitsch
https://chromiumcodereview.appspot.com/10386086/diff/6006/lib/compiler/implementation/emitter.dart File lib/compiler/implementation/emitter.dart (right): https://chromiumcodereview.appspot.com/10386086/diff/6006/lib/compiler/implementation/emitter.dart#newcode781 lib/compiler/implementation/emitter.dart:781: emitCallStubForGetter(member, selectors, defineInstanceMember); On 2012/05/14 14:36:45, antonmuhin wrote: > ...
8 years, 7 months ago (2012-05-14 15:10:29 UTC) #12
floitsch
On 2012/05/14 14:36:45, antonmuhin wrote: > PTAL > > https://chromiumcodereview.appspot.com/10386086/diff/1/lib/compiler/implementation/ssa/builder.dart > File lib/compiler/implementation/ssa/builder.dart (right): > ...
8 years, 7 months ago (2012-05-14 15:12:05 UTC) #13
ahe
https://chromiumcodereview.appspot.com/10386086/diff/1/lib/compiler/implementation/ssa/builder.dart File lib/compiler/implementation/ssa/builder.dart (right): https://chromiumcodereview.appspot.com/10386086/diff/1/lib/compiler/implementation/ssa/builder.dart#newcode784 lib/compiler/implementation/ssa/builder.dart:784: interceptors = compiler.backend.builder.interceptors, On 2012/05/14 14:36:45, antonmuhin wrote: > ...
8 years, 7 months ago (2012-05-14 15:56:41 UTC) #14
ahe
8 years, 7 months ago (2012-05-14 16:11:15 UTC) #15
Please don't forget to remove "RFC" from the description before submitting.

Powered by Google App Engine
This is Rietveld 408576698