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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/body_builder.dart

Issue 2980043003: more fasta event cleanup and testing (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/parser/node_listener.dart ('k') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/body_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
index 7483b82a67781d64f41b2bd135ec223b6c2e20ea..b70f8766948f59f1a7c136c041733f94f1a1f7c3 100644
--- a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
@@ -2816,13 +2816,8 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper {
}
@override
- void handleSwitchCase(
- int labelCount,
- int expressionCount,
- Token defaultKeyword,
- int statementCount,
- Token firstToken,
- Token endToken) {
+ void endSwitchCase(int labelCount, int expressionCount, Token defaultKeyword,
+ int statementCount, Token firstToken, Token endToken) {
debugEvent("SwitchCase");
// We always create a block here so that we later know that there's always
// one synthetic block when we finish compiling the switch statement and
« no previous file with comments | « pkg/compiler/lib/src/parser/node_listener.dart ('k') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698