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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart

Issue 23063003: Fix issue 12023 by avoiding a critical edge in the SSA graph with a switch statement. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « sdk/lib/_internal/compiler/implementation/ssa/codegen.dart ('k') | tests/language/issue12023_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (revision 26117)
+++ sdk/lib/_internal/compiler/implementation/ssa/nodes.dart (working copy)
@@ -2695,16 +2695,12 @@
final HExpressionInformation expression;
final List<List<Constant>> matchExpressions;
final List<HStatementInformation> statements;
- // If the switch has a default, it's the last statement block, which
- // may or may not have other expresions.
- final bool hasDefault;
final TargetElement target;
final List<LabelElement> labels;
HSwitchBlockInformation(this.expression,
this.matchExpressions,
this.statements,
- this.hasDefault,
this.target,
this.labels);
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/codegen.dart ('k') | tests/language/issue12023_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698