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

Unified Diff: pkg/compiler/lib/src/elements/jumps.dart

Issue 2954463002: Refactoring to prepare for kernel based jump targets (Closed)
Patch Set: Updated cf. comments Created 3 years, 6 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 | « no previous file | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/elements/jumps.dart
diff --git a/pkg/compiler/lib/src/elements/jumps.dart b/pkg/compiler/lib/src/elements/jumps.dart
index 84805d2773e997825e0613bc0e3c400f3102bd18..4fc92358176900b6806cea1ed6e15e71b6d32170 100644
--- a/pkg/compiler/lib/src/elements/jumps.dart
+++ b/pkg/compiler/lib/src/elements/jumps.dart
@@ -15,9 +15,6 @@ abstract class LabelDefinition<T> extends Entity {
bool get isTarget;
bool get isBreakTarget;
bool get isContinueTarget;
-
- void setBreakTarget();
- void setContinueTarget();
}
/// A jump target is the reference point of a statement or switch-case,
@@ -32,9 +29,6 @@ abstract class JumpTarget<T> extends Local {
bool get isContinueTarget;
bool get isSwitch;
- // TODO(kasperl): Try to get rid of these.
- void set isBreakTarget(bool value);
- void set isContinueTarget(bool value);
-
- LabelDefinition<T> addLabel(covariant T label, String labelName);
+ LabelDefinition<T> addLabel(covariant T label, String labelName,
+ {bool isBreakTarget: false});
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698