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

Issue 2637483002: Implement switch statement, without the "complex switch statement" (aka switch statement with conti… (Closed)

Created:
3 years, 11 months ago by Emily Fortuna
Modified:
3 years, 11 months ago
Reviewers:
Harry Terkelsen, sra1
CC:
reviews_dartlang.org, Siggi Cherem (dart-lang)
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Implement switch statement, without the "complex switch statement" (aka switch statement with continue to a label). Breaking this change up into two changes, as there's one last bug I'm tracking down on switch with continue. BUG=https://github.com/dart-lang/sdk/issues/27394 R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/67445d409e2017b5d4592ac03154bd9e0803ff85

Patch Set 1 : . #

Total comments: 24

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 8

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+454 lines, -82 lines) Patch
M pkg/compiler/lib/src/kernel/kernel_visitor.dart View 1 2 3 4 chunks +10 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 4 chunks +12 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 1 2 3 13 chunks +250 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/ssa/graph_builder.dart View 1 2 3 3 chunks +15 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 2 3 8 chunks +50 lines, -26 lines 0 comments Download
M pkg/compiler/lib/src/ssa/loop_handler.dart View 1 chunk +4 lines, -17 lines 0 comments Download
A pkg/compiler/lib/src/ssa/switch_continue_analysis.dart View 1 2 3 1 chunk +113 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Emily Fortuna
I ended up splitting this up into two CLs, but you may see some things ...
3 years, 11 months ago (2017-01-14 00:13:14 UTC) #3
sra1
Initial comments https://codereview.chromium.org/2637483002/diff/20001/pkg/compiler/lib/src/ssa/builder_kernel.dart File pkg/compiler/lib/src/ssa/builder_kernel.dart (right): https://codereview.chromium.org/2637483002/diff/20001/pkg/compiler/lib/src/ssa/builder_kernel.dart#newcode1041 pkg/compiler/lib/src/ssa/builder_kernel.dart:1041: /// [isLoopJump] is [:true:] when the jump ...
3 years, 11 months ago (2017-01-14 03:18:23 UTC) #4
Emily Fortuna
https://codereview.chromium.org/2637483002/diff/20001/pkg/compiler/lib/src/ssa/builder_kernel.dart File pkg/compiler/lib/src/ssa/builder_kernel.dart (right): https://codereview.chromium.org/2637483002/diff/20001/pkg/compiler/lib/src/ssa/builder_kernel.dart#newcode1041 pkg/compiler/lib/src/ssa/builder_kernel.dart:1041: /// [isLoopJump] is [:true:] when the jump handler is ...
3 years, 11 months ago (2017-01-17 23:33:09 UTC) #5
sra1
lgtm https://codereview.chromium.org/2637483002/diff/20001/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart File pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart (right): https://codereview.chromium.org/2637483002/diff/20001/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart#newcode936 pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart:936: ir.Node targetStatement; On 2017/01/17 23:33:09, Emily Fortuna wrote: ...
3 years, 11 months ago (2017-01-18 23:31:29 UTC) #6
Emily Fortuna
https://codereview.chromium.org/2637483002/diff/20001/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart File pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart (right): https://codereview.chromium.org/2637483002/diff/20001/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart#newcode936 pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart:936: ir.Node targetStatement; On 2017/01/18 23:31:28, sra1 wrote: > On ...
3 years, 11 months ago (2017-01-19 00:21:22 UTC) #7
Emily Fortuna
3 years, 11 months ago (2017-01-19 00:22:10 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as
67445d409e2017b5d4592ac03154bd9e0803ff85 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698