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

Issue 2750013002: [kernel] Debugging of switch statement (Closed)

Created:
3 years, 9 months ago by jensj
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Take #2: Update switch case to include list of positions #

Total comments: 12

Patch Set 3 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -53 lines) Patch
M pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/kernel/kernel_visitor.dart View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 1 2 4 chunks +13 lines, -7 lines 0 comments Download
M pkg/kernel/binary.md View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M pkg/kernel/lib/ast.dart View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M pkg/kernel/lib/binary/ast_from_binary.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/kernel/lib/binary/ast_to_binary.dart View 1 2 23 chunks +37 lines, -36 lines 0 comments Download
M pkg/kernel/lib/clone.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/kernel.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/kernel_binary.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
jensj
Turns out debugging of switch cases via kernel was rather lacking. This (at least together ...
3 years, 9 months ago (2017-03-15 08:52:41 UTC) #2
Kevin Millikin (Google)
In the binary encoding, I think it would be better to have a List<Uint> of ...
3 years, 9 months ago (2017-03-15 11:13:49 UTC) #3
ahe
Fasta changes: LGTM
3 years, 9 months ago (2017-03-15 11:29:41 UTC) #4
jensj
I've taken a stab at Kevins suggestion. PTAL.
3 years, 9 months ago (2017-03-15 14:41:41 UTC) #5
Kevin Millikin (Google)
LGTM with comments. https://codereview.chromium.org/2750013002/diff/20001/pkg/compiler/lib/src/kernel/kernel_visitor.dart File pkg/compiler/lib/src/kernel/kernel_visitor.dart (right): https://codereview.chromium.org/2750013002/diff/20001/pkg/compiler/lib/src/kernel/kernel_visitor.dart#newcode1025 pkg/compiler/lib/src/kernel/kernel_visitor.dart:1025: List<int> expressionsOffsets = <int>[]; Do this ...
3 years, 9 months ago (2017-03-20 12:29:48 UTC) #6
jensj
https://codereview.chromium.org/2750013002/diff/20001/pkg/compiler/lib/src/kernel/kernel_visitor.dart File pkg/compiler/lib/src/kernel/kernel_visitor.dart (right): https://codereview.chromium.org/2750013002/diff/20001/pkg/compiler/lib/src/kernel/kernel_visitor.dart#newcode1025 pkg/compiler/lib/src/kernel/kernel_visitor.dart:1025: List<int> expressionsOffsets = <int>[]; On 2017/03/20 12:29:47, Kevin Millikin ...
3 years, 9 months ago (2017-03-21 10:06:20 UTC) #7
jensj
3 years, 9 months ago (2017-03-21 10:36:56 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
a1a34a1c84ab7a36c3eed27b835dfbc9490b93d2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698