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

Issue 2942863002: Compile and run Hello World! (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Handle constant field initializer #

Patch Set 3 : Cleanup #

Total comments: 16

Patch Set 4 : Updated cf. comments #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -160 lines) Patch
M pkg/compiler/lib/src/js_backend/namer.dart View 1 9 chunks +28 lines, -19 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart View 1 2 3 4 4 chunks +6 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/type_test_registry.dart View 1 2 3 4 3 chunks +16 lines, -20 lines 0 comments Download
M pkg/compiler/lib/src/kernel/element_map.dart View 1 2 3 4 4 chunks +41 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/kernel/element_map_impl.dart View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 3 4 2 chunks +18 lines, -49 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 1 2 3 4 9 chunks +28 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 2 3 4 3 chunks +0 lines, -31 lines 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/ssa.dart View 1 2 3 4 2 chunks +46 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/universe/codegen_world_builder.dart View 1 2 3 4 3 chunks +16 lines, -1 line 0 comments Download
M tests/compiler/dart2js/kernel/compile_from_dill_test.dart View 1 2 3 4 4 chunks +4 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/kernel/compiler_helper.dart View 2 chunks +12 lines, -5 lines 0 comments Download
A tests/compiler/dart2js/kernel/run_from_dill_test.dart View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Johnni Winther
3 years, 6 months ago (2017-06-15 11:11:39 UTC) #2
Emily Fortuna
https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart File pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart (right): https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart#newcode278 pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart:278: return null; is this really better than throwing? I ...
3 years, 6 months ago (2017-06-15 17:54:34 UTC) #3
Siggi Cherem (dart-lang)
it's alive! and talking! https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/js_backend/namer.dart File pkg/compiler/lib/src/js_backend/namer.dart (left): https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/js_backend/namer.dart#oldcode25 pkg/compiler/lib/src/js_backend/namer.dart:25: import '../tree/tree.dart'; \o/ https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart File ...
3 years, 6 months ago (2017-06-15 18:28:55 UTC) #4
Johnni Winther
Committed patchset #4 (id:60001) manually as 1214e6fba636d76fca88357c358990c24b08c756 (presubmit successful).
3 years, 6 months ago (2017-06-16 09:24:10 UTC) #6
Johnni Winther
No LGTM? - committed, anyway... https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart File pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart (right): https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart#newcode278 pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart:278: return null; On 2017/06/15 ...
3 years, 6 months ago (2017-06-16 09:25:31 UTC) #7
Johnni Winther
Committed patchset #5 (id:80001) manually as 99ff7d2b7794322f0379009e4feed595632106e4 (presubmit successful).
3 years, 6 months ago (2017-06-16 13:37:13 UTC) #10
Siggi Cherem (dart-lang)
no lgtm! because it was LGTAOU!! (all of us) ;-) very exciting... very exciting https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart ...
3 years, 6 months ago (2017-06-16 16:35:24 UTC) #11
Emily Fortuna
lgtm!!
3 years, 6 months ago (2017-06-16 17:38:14 UTC) #12
Johnni Winther
3 years, 6 months ago (2017-06-19 10:57:39 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/ke...
File pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart (right):

https://codereview.chromium.org/2942863002/diff/40001/pkg/compiler/lib/src/ke...
pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart:278: return null;
On 2017/06/16 16:35:24, Siggi Cherem (dart-lang) wrote:
> On 2017/06/16 09:25:31, Johnni Winther wrote:
> > On 2017/06/15 18:28:55, Siggi Cherem (dart-lang) wrote:
> > > On 2017/06/15 17:54:34, Emily Fortuna wrote:
> > > > is this really better than throwing? I mean, it gets hello world
> compiling,
> > > but
> > > > it's hiding issues.
> > > 
> > > one option here: throw in checked mode only?
> > 
> > This is the price for the machete approach. We need to clean up the leaves
> > afterwards. In this case: returning `null` means [node] has no jumps to it,
> > which is true for loops without continue.
> > 
> > We run unittests in checked mode, so no. 
> 
> How about:
> 
> if (const bool.fromEnvironment("MACHETE_CLEANUP")) throw "support jump
targets";

I'll consider it.

Powered by Google App Engine
This is Rietveld 408576698