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

Unified Diff: pkg/compiler/lib/src/serialization/keys.dart

Issue 1883863002: Serialize JumpTarget and LabelDefinition. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove unused code. Created 4 years, 8 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
Index: pkg/compiler/lib/src/serialization/keys.dart
diff --git a/pkg/compiler/lib/src/serialization/keys.dart b/pkg/compiler/lib/src/serialization/keys.dart
index d74c8209ce98061a0228433513ee774f53e9f58f..7b02fff35ffdd4f92ecffac8fb05d3e2d1e573dd 100644
--- a/pkg/compiler/lib/src/serialization/keys.dart
+++ b/pkg/compiler/lib/src/serialization/keys.dart
@@ -45,7 +45,9 @@ class Key {
static const Key INTERFACES = const Key('interfaces');
static const Key INDEX = const Key('index');
static const Key IS_ABSTRACT = const Key('isAbstract');
+ static const Key IS_BREAK_TARGET = const Key('isBreakTarget');
static const Key IS_CONST = const Key('isConst');
+ static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget');
static const Key IS_DEFERRED = const Key('isDeferred');
static const Key IS_EMPTY = const Key('isEmpty');
static const Key IS_EXTERNAL = const Key('isExternal');
@@ -57,8 +59,14 @@ class Key {
static const Key IS_SETTER = const Key('isSetter');
static const Key IS_UNNAMED_MIXIN_APPLICATION =
const Key('isUnnamedMixinApplication');
+ static const Key JUMP_TARGET = const Key('jumpTarget');
+ static const Key JUMP_TARGETS = const Key('jumpTargets');
+ static const Key JUMP_TARGET_DEFINITION = const Key('jumpTargetDefinition');
static const Key KEYS = const Key('keys');
static const Key KIND = const Key('kind');
+ static const Key LABEL_DEFINITION = const Key('labelDefinition');
+ static const Key LABEL_DEFINITIONS = const Key('labelDefinitions');
+ static const Key LABELS = const Key('labels');
static const Key LEFT = const Key('left');
static const Key LENGTH = const Key('length');
static const Key LIBRARY = const Key('library');
@@ -74,7 +82,9 @@ class Key {
static const Key NAMED_ARGUMENTS = const Key('named-arguments');
static const Key NAMED_PARAMETERS = const Key('named-parameters');
static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types');
+ static const Key NESTING_LEVEL = const Key('nestingLevel');
static const Key NEW_STRUCTURE = const Key('newStructure');
+ static const Key NODE = const Key('node');
static const Key OFFSET = const Key('offset');
static const Key OPERATOR = const Key('operator');
static const Key OPTIONAL_PARAMETER_TYPES =
@@ -94,6 +104,7 @@ class Key {
static const Key SUPERTYPES = const Key('supertypes');
static const Key SYMBOLS = const Key('symbols');
static const Key TAGS = const Key('tags');
+ static const Key TARGET_LABEL = const Key('targetLabel');
static const Key TRUE = const Key('true');
static const Key TYPE = const Key('type');
static const Key TYPES = const Key('types');

Powered by Google App Engine
This is Rietveld 408576698