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

Issue 716823002: Set up a stub pipline for using the new cps-based ir to generate js. (Closed)

Created:
6 years, 1 month ago by sigurdm
Modified:
6 years, 1 month ago
Reviewers:
floitsch
CC:
reviews_dartlang.org, Kevin Millikin (Google), Johnni Winther, karlklose
Visibility:
Public.

Description

Set up a stub pipline for using the new cps-based ir to generate js. The code is only activated when enabling environment variable USE_CPS_IR. R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=41716

Patch Set 1 : File moves #

Patch Set 2 : #

Total comments: 26

Patch Set 3 : Address comments #

Patch Set 4 : Fix issues with last patch set #

Total comments: 8

Patch Set 5 : Address comments #

Patch Set 6 : Move IrEnabled to compiler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+496 lines, -1633 lines) Patch
M pkg/compiler/lib/src/compiler.dart View 1 2 3 4 5 2 chunks +12 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_visitor.dart View 1 2 3 4 5 1 chunk +19 lines, -26 lines 0 comments Download
M pkg/compiler/lib/src/dart2jslib.dart View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/dart_backend/copy_propagator.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/dart_backend/dart_backend.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/dart_backend/logical_rewriter.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/dart_backend/loop_rewriter.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/dart_backend/statement_rewriter.dart View 1 1 chunk +1 line, -1 line 0 comments Download
D pkg/compiler/lib/src/dart_backend/tree_ir_builder.dart View 1 chunk +0 lines, -477 lines 0 comments Download
D pkg/compiler/lib/src/dart_backend/tree_ir_nodes.dart View 1 chunk +0 lines, -664 lines 0 comments Download
D pkg/compiler/lib/src/dart_backend/tree_ir_tracer.dart View 1 chunk +0 lines, -420 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 6 chunks +20 lines, -12 lines 0 comments Download
A pkg/compiler/lib/src/js_backend/codegen/codegen.dart View 1 2 3 1 chunk +211 lines, -0 lines 0 comments Download
A pkg/compiler/lib/src/js_backend/codegen/task.dart View 1 2 3 1 chunk +169 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_backend.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 1 2 6 chunks +23 lines, -18 lines 0 comments Download
M pkg/compiler/lib/src/ssa/ssa.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/value_range_analyzer.dart View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/tracer.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A + pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
M tests/compiler/dart2js/backend_dart/dart_new_backend_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/backend_dart/test_helper.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
sigurdm
6 years, 1 month ago (2014-11-11 15:27:49 UTC) #3
floitsch
https://codereview.chromium.org/716823002/diff/40001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/716823002/diff/40001/pkg/compiler/lib/src/compiler.dart#newcode719 pkg/compiler/lib/src/compiler.dart:719: static const bool USE_CPS_IR = const bool.fromEnvironment("USE_CPS_IR"); Just move ...
6 years, 1 month ago (2014-11-12 11:03:20 UTC) #4
sigurdm
https://codereview.chromium.org/716823002/diff/40001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/716823002/diff/40001/pkg/compiler/lib/src/compiler.dart#newcode719 pkg/compiler/lib/src/compiler.dart:719: static const bool USE_CPS_IR = const bool.fromEnvironment("USE_CPS_IR"); On 2014/11/12 ...
6 years, 1 month ago (2014-11-13 08:29:42 UTC) #5
floitsch
LGTM. https://codereview.chromium.org/716823002/diff/100001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/716823002/diff/100001/pkg/compiler/lib/src/compiler.dart#newcode1492 pkg/compiler/lib/src/compiler.dart:1492: log('Building IR...'); move log into if. https://codereview.chromium.org/716823002/diff/100001/pkg/compiler/lib/src/cps_ir/cps_ir_builder_visitor.dart File ...
6 years, 1 month ago (2014-11-13 14:30:55 UTC) #7
sigurdm
https://codereview.chromium.org/716823002/diff/100001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/716823002/diff/100001/pkg/compiler/lib/src/compiler.dart#newcode1492 pkg/compiler/lib/src/compiler.dart:1492: log('Building IR...'); On 2014/11/13 14:30:55, floitsch wrote: > move ...
6 years, 1 month ago (2014-11-13 14:43:42 UTC) #8
sigurdm
6 years, 1 month ago (2014-11-13 14:57:53 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 (id:140001) manually as 41716 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698