|
|
Allow LetCont to bind multiple continuations.
LetCont can now bind multiple continuations in the same scope. As an
example, the 'then' and 'else' continuations of a branch are siblings
in the expression, and neither is in the scope of the other. None of
the LetCont-bound continuations are in scope for any of the
continuation bodies. Recursive continuations are still recursive
values, not recursive bindings, so there is no direct way to have
mutually recursive continuations. This matches the JavaScript
semantics.
R=asgerf@google.com, sigurdm@google.com, karlklose@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=42945
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1078 lines, -890 lines) |
Patch |
 |
M |
pkg/analyzer2dart/test/sexpr_data.dart
|
View
|
|
61 chunks |
+310 lines, -310 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
|
View
|
|
16 chunks |
+69 lines, -60 lines |
2 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_builder_visitor.dart
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
|
View
|
|
8 chunks |
+30 lines, -19 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
|
View
|
|
2 chunks |
+25 lines, -14 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/optimizers.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/redundant_phi.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
|
View
|
|
12 chunks |
+60 lines, -34 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
|
View
|
|
1 chunk |
+20 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tests/compiler/dart2js/backend_dart/opt_constprop_test.dart
|
View
|
|
11 chunks |
+287 lines, -225 lines |
0 comments
|
Download
|
 |
M |
tests/compiler/dart2js/backend_dart/opt_redundant_phi_test.dart
|
View
|
|
8 chunks |
+168 lines, -123 lines |
0 comments
|
Download
|
 |
M |
tests/compiler/dart2js/backend_dart/opt_shrinking_test.dart
|
View
|
|
7 chunks |
+68 lines, -68 lines |
0 comments
|
Download
|
 |
M |
tests/compiler/dart2js/backend_dart/sexpr_unstringifier.dart
|
View
|
|
4 chunks |
+20 lines, -11 lines |
0 comments
|
Download
|
 |
M |
tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|